vectorgrp / vector-vscode-vcast

A VectorCAST test adapter for VS Code
Other
8 stars 2 forks source link

Rebuilding an environment after switching "Enable Coded Testing" from On to Off causes errors #226

Open johnpaliotta opened 1 month ago

johnpaliotta commented 1 month ago

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.