joey shelton / LED_Demo2

Dependencies:   MAX44000 PWM_Tone_Library nexpaq_mdk

Fork of LED_Demo by joey shelton

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 46 of file utest_specification.h.