diff --git a/modules/next_stage/test/TestPlan.md b/modules/next_stage/test/TestPlan.md index 7ca75599f5a..bd6fd9148de 100644 --- a/modules/next_stage/test/TestPlan.md +++ b/modules/next_stage/test/TestPlan.md @@ -9,31 +9,29 @@ [Automation Testing] 4. Ensure that you get an error if dates do not match. [Automation Testing] -5. Ensure that you get an error if `scan_done` missing - [Manual Testing] -6. Create a timepoint where the age (date entered minus DoB) falls within the +5. Create a timepoint where the age (date entered minus DoB) falls within the AgeMin and AgeMax for a `test_battery`. The `test_battery` needs to have a matching `cohortID` and a NULL `Visit_label`. There should be no other `test_battery` entries with the `Visit_label` set to the visit label of the timepoint. Ensure that the instruments of the `test_battery` with the NULL `Visit_label` are inserted. [Manual Testing] -7. Create a timepoint where there is a `test_battery` entry for the +6. Create a timepoint where there is a `test_battery` entry for the `Visit_label` and `cohortID`, and start the stage. Ensure that those were inserted into the battery, and NOT the ones based on age (when `Visit_label` is NULL). [Manual Testing] -8. Ensure that any instruments in `test_battery` with firstVisit='Y' where +7. Ensure that any instruments in `test_battery` with firstVisit='Y' where inserted if and only if it's the first timepoint started. Ensure that firstVisit='N' instruments are inserted if and only if it is NOT the first timepoint started, and firstVisit=null whether or not it's the first time point. [Manual Testing] -9. Ensure that if a CenterID is set for a row in the test battery, the +8. Ensure that if a CenterID is set for a row in the test battery, the instrument is inserted for candidates at that centerID (if `Age` is correct and `Visit_label` is NULL or identical to the timepoint's one), and not other centers. [Manual Testing] -10. Ensure that if Active='N' for an instrument in the `test_battery` it is +9. Ensure that if Active='N' for an instrument in the `test_battery` it is NOT inserted even if other criteria pass. [Manual Testing]