This section covers both Unit Testing and Application Monitoring.

Environment-Specific Configuration

Before using C++test test configurations dedicated to work with TASKING standalone debugger dbgtc, adjust them as follows:

Unit Testing

The following test configuration is provided to facilitate the unit testing process:

Embedded Systems> Altium> Run Altium TASKING CTC Tests

To run unit testing on the target or a simulator:

  1. Manually create or automatically generate a set of test cases.
  2. Duplicate one of the Altium TASKING Test Configurations.
  3. Modify the Test Configuration as needed. See Environment-Specific Configuration for details.
  4. Select the desired testing context.
  5. Run tests with the customized Test Configuration created above.

Debugging Test Cases

C++test does not support direct Test Cases debugging for this environment. Use appropriate Debug/Launch Configuration for your original/tested project to load Test Executable and set breakpoints on wanted Test Cases manually.

Application Monitoring

The following test configuration is provided to facilitate the application monitoring process:

Embedded Systems> Altium> Run Altium TASKING CTC Application with Mem Monitoring

To run application monitoring on the target:

  1. Duplicate one of the Altium TASKING Application Monitoring Test Configurations.
  2. Modify the Test Configuration as needed. See Environment-Specific Configuration for details.
  3. Select the desired testing context.
  4. Run tests with the customized Test Configuration created above.