This topic provides an overview of C++test’s cross-platform testing process and requirements. For details on using C++test with the supported environments, see Supported Environments Details.
Sections include:
Table of Contents | ||
---|---|---|
|
...
For target-based testing, a cross-compiled C++test runtime library is be needed. C++test will automatically prepare a build of the runtime library. In some cases when non-standard customization is required, you will need to manually prepare a build of the runtime library (as described Working with the C++test Runtime Library) and use a cross-compiler to build the test harness source code. The cross-compiled test harness and runtime library should then be linked together with libraries containing standard OS functions (a list of external functions used in the C++test runtime is provided in Symbols Used By the C++test Runtime Library).
The process of cross-compiling the test harness and linking it with the C++test runtime library is usually automated by C++test (See Working with the C++test Runtime Library) and requires the cross-compiler to be correctly defined in C++test (See Configuring Testing with the Cross Compiler). This process does not require user interaction.
...
After testing is completed, the test log needs to be transferred back to the host so you can review results in the C++test GUI. This transfer can be automated by C++test (as described in Customizing the Test Execution Flow) or performed manually.
...
- Prepare the test harness (instrument user source code, generate/collect test cases).
- Build the test harness.
- Deploy the test executable to the target device.
- Execute the tests automatically or wait for the tests to execute.
- Download test and coverage results to the host machine and have C++test read them.
...