Kenji Arai / mbed-os_TYBLE16

Dependents:   TYBLE16_simple_data_logger TYBLE16_MP3_Air

Embed: (wiki syntax)

« Back to documentation index

Specification Class Reference

Specification Class Reference

Test specification containing the setup and teardown handlers and test cases. More...

#include <utest_specification.h>


Detailed Description

Test specification containing the setup and teardown handlers and test cases.

This class simply holds the test cases and allows you to specify default handlers, and override setup and teardown handlers. The order of arguments is:

  • test setup handler (optional)
  • array of test cases (required)
  • test teardown handler (optional)
  • default handlers (optional)
Note:
You cannot set the size of the test case array dynamically, it is template deducted at compile time. Creating test specifications for unittests at runtime is explicitly not supported.

Definition at line 48 of file utest_specification.h.