The TestStep dataclass was recently updated to include an expectation string, which is meant to match the expected outcome from the test plan. The current set of test that use the TestStep tend to paraphrase the test plan, but if we can move to this new style, then we can generate the test plans directly from the scripts and it's much easier to keep them in sync.
For each test
Update all TestStep data classes to exactly match the test plan
Generate the test plan from the script to match the formatting
(eventually the plan is to hook up auto-generation in the test plans repo, but this hasn't been done yet, so for now it's semi-manual)
Note that some tests will require PICS removal before they can be updated.
Tests with no pics that can be updated now:
[ ] all tests in TC_AccessChecker
[ ] TC_ACE_1_3
[ ] TC_ACL_2_2
[ ] TC_BOOLCFG_2_1
[ ] TC_BOOLCFG_3_1
[ ] TC_BOOLCFG_4_1
[ ] TC_BOOLCFG_4_2
[ ] TC_BOOLCFG_4_3
[ ] TC_BOOLCFG_4_4
[ ] TC_BOOLCFG_5_1
[ ] TC_BOOLCFG_5_2
[ ] TC_CNET_4_4
[ ] TC_EEM_2_2
[ ] TC_EEM_2_3
[ ] TC_EEM_2_4
[ ] TC_EEM_2_5
[ ] TC_EEVSE_2_2
[ ] TC_EEVSE_2_4
[ ] TC_EEVSE_2_5
[ ] TC_FAN_3_3
[ ] TC_FAN_3_4
[ ] TC_IDM_1_4
[ ] TC_MWOCTRL_2_2
[ ] TC_MWOCTRL_2_3
[ ] TC_MWOCTRL_2_4
[ ] TC_MWOM_1_2
[ ] TC_MWOM_2_2
[ ] TC_pics_checker
[ ] TC_VALCC_2_1
[ ] TC_VALCC_3_1
[ ] TC_VALCC_3_2
[ ] TC_VALCC_3_3
[ ] TC_VALCC_3_4
[ ] TC_VALCC_4_1
[ ] TC_VALCC_4_2
[ ] TC_VALCC_4_3
[ ] TC_VALCC_4_4
[ ] TC_VALCC_4_5
Tests that need a PICS re-work before the test plan can be generated
The TestStep dataclass was recently updated to include an expectation string, which is meant to match the expected outcome from the test plan. The current set of test that use the TestStep tend to paraphrase the test plan, but if we can move to this new style, then we can generate the test plans directly from the scripts and it's much easier to keep them in sync.
For each test
Note that some tests will require PICS removal before they can be updated.
Tests with no pics that can be updated now:
Tests that need a PICS re-work before the test plan can be generated