Import Synthetics manual test

This commit is contained in:
John Colvin committed 2019-11-25 12:55:13 -06:00
1 parent 436dbd217c
commit 07da9fd296
3 files changed
+6

No files matched your search

@@ -0,0 +1,3 @@
Invalid Synth 1, 0.05, bad sec 1, 1, bad price mult 1, Q, SIM:ESM0, -1, 1, N
Invalid Synth 2, 0.10, bad sec 2, bad quantity 2, 0.9, H, SIM:YMM0, -2, 1.1, bad leg type
Invalid Synth 3, bad ticks 3, SIM:SIF1, bad quantity 3, bad price mult 3, Q, SIM:SIH1, -1, -1, N
1 Invalid Synth 1 0.05 bad sec 1 1 bad price mult 1 Q SIM:ESM0 -1 1 N
2 Invalid Synth 2 0.10 bad sec 2 bad quantity 2 0.9 H SIM:YMM0 -2 1.1 bad leg type
3 Invalid Synth 3 bad ticks 3 SIM:SIF1 bad quantity 3 bad price mult 3 Q SIM:SIH1 -1 -1 N
@@ -0,0 +1,2 @@
Valid Synth 1, 0.05, SIM:ESH0, 1, 2, H, SIM:ESM0, -1, 1, Q
Valid Synth 2, 0.10, SIM:YMH0, 3, 0.9, H, SIM:YMM0, -2, 1.1, Q
1 Valid Synth 1 0.05 SIM:ESH0 1 2 H SIM:ESM0 -1 1 Q
2 Valid Synth 2 0.10 SIM:YMH0 3 0.9 H SIM:YMM0 -2 1.1 Q
@@ -0,0 +1 @@
# Import Synthetics Test (10 min)␍## Notes␍- The test refers to a couple [csv] files:␍ - They are located in the 'docs\testing\import_synthetics' dir␍ - If any security conflicts arise due to expired securities in the contract legs, please update the csv file with unexpired securities.␍ - synthetics are displayed (in the main dialog) in the order in which they are listed in the csv file.␍ - the security cells should be easy to identify, since every other cell, except for 'name,' is a number.␍- Direct concerns/complaints to John.␍***␍␍1. Open the Synthetic Management window (Launcher->Spreader->Synthetics).␍- Right click anywhere in the grid to open the context menu, then click "Import Synthetics..." to open the import dialog.␍- Select the 'valid_synths' file, then click 'Open.'␍- The 'Import Synthetics' dialog should appear with a synthetic row for each line in the file (should be 2).␍- Click OK to import/persist the synthetics.␍- Verify that the import succeeded:␍ - A brief message dialog should appear saying something to the effect of "All synthetics were successfully imported."␍ - The newly imported synthetics should be present in the Synthetic Management window.␍- Import the 'valid_synths' file again, this time the conflicts dialog should appear; it should say that '0/y synthetics have been successfully converted..'␍ - There should be 1 conflict per line in the file for component 'Name' (because each name already exists).␍ - Change the names to ones that don't already exist, then click continue to proceed to the main dialog.␍ - No errors should be present in the main dialog (errors are indicated by a red exclamation point to the left of the expander arrow for a particular synthetic).␍- Click 'OK' to import/persist the synthetics.␍- Verify that the import succeeded.␍ - A brief message dialog should appear saying something to the effect of "All synthetics were successfully imported."␍ - The newly imported synthetics should be present in the Synthetic Management window.␍- Import the 'invalid_synths' file, the conflicts dialog should have the following errors (note the numbers at the end of the error text matches the line number of this error in the file):␍ - Security: "bad sec 1," "bad sec 2"␍ - Price Mult: "bad price mult 1"␍ - Quantity: "bad quantity 2"␍ - Tick Factors: "bad ticks 3"␍- Resolve each error with distinct values, take a screenshot of the conflicts dialog, then click 'Continue.'␍- Verify that the resolutions were applied to the correct rows (use the screenshot you just took as a reference).␍- Click 'OK' to import the persisted synthetics.␍- Verify that the import succeeded.␍ - A brief message dialog should appear saying something to the effect of "All synthetics were successfully imported."␍ - The newly imported synthetics should be present in the Synthetic Management window.␍