Build an environment with the setting: "Enable Coded Testing" On
Add some coded tests
Turn "Enable Coded Testing" Off
Rebuild environment
This causes an error when loading the test script because the existing test script has tests for "subprogram" "coded_tests_driver", but rather than ignoring this error and continuing, we do not update the Test Pane to reflect the current state of the environment.
Note: that doing an environment refresh results in the correct data in the Test Pane.
We probably should ignore script load errors in the rebuild case, because the same thing would happen if the code under test has had a function with test cases removed.
Steps
This causes an error when loading the test script because the existing test script has tests for "subprogram" "coded_tests_driver", but rather than ignoring this error and continuing, we do not update the Test Pane to reflect the current state of the environment.
Note: that doing an environment refresh results in the correct data in the Test Pane.
We probably should ignore script load errors in the rebuild case, because the same thing would happen if the code under test has had a function with test cases removed.