Test Macros

    TEST(group, name) - define a test

  • IGNORE_TEST(group, name) - turn off the execution of a test
  • TEST_GROUP(group) - Declare a test group to which certain tests belong.
    This will also create thelink needed from another library.
  • TEST_GROUP_BASE(group, base) - Same as TEST_GROUP, just use a different
    base class than Utest
  • TEST_SETUP() - Declare a void setup method in a TEST_GROUP
  • TEST_TEARDOWN() - Declare a void setup method in a TEST_GROUP
  • EXPORT_TEST_GROUP(group) - Export the name of a test group so it can
    be linked in from a library
  • Set up and tear down support

  • Each TEST_GROUP may contain setup or teardown methods
  • Setup is called prior to each TEST body and Teardown is called after
    the test body