Is there a way to prepare my compiler, target and/or environment variable before testing in VectorCAST?
Yes, it is often necessary to do some preparatory tasks before running the tests for a VectorCAST environment. These tasks may include starting a target server, setting environment variables, starting simulators, etc. Furthermore, after the environment test-runs, it may be necessary to perform some cleanup tasks. These cleanup tasks may include killing processes, cleaning up files, etc.
See also this video tutorial.
VectorCAST/Manage Projects now contain a script in the <PROJECT_DIRECTORY>/python directory called setup_teardown.py. This script is run when a project is loaded and is used to map the compiler node names within a project to Python classes that contain setup and teardown members.