(+84) 236.3827111 ex. 402

Customizing White-box Testing


Beyond creating the test harness and the initial set of test cases, one of the best advantages of using C++Test is that it allows you to customize white–box testing to fit your exact test needs. Using the Project> Project Test Configuration menu, you can specify the:

Number of test cases to be generated.

Test level (test a method, class, file, or project)

Time–out for test case execution (in seconds)

Maximum Dynamic Allocation size (in number of elements)

Object Initialization Mode (Constructors, Member Wise, or Object Repository).

Float Types Precision

Value or value ranges for common types ( bool, char, void, and so on).

Tip! You can customize your unit testing either before generating an initial set of test cases or after you’ve completed a round of tests.