Functions Not Considered Testable in Parameter Tree when a Class is Implemented Across Multiple Units
In VectorCAST, when a class is implemented across multiple units that are simultaneously under test, only the first UUT will have testable functions. There are two approaches to getting past this problem:
- The first approach is to test each unit independently.
- The second approach is to create a new source file that #includes both BAR.cpp and FOO.cpp. This new source file would need to be the only unit set as the unit under test.