test_class

September 14, 2025 ยท View on GitHub

Shows how to use xtd::tunit::test_class class.

Sources

Build and run

Open "Command Prompt" or "Terminal". Navigate to the folder that contains the project and type the following:

xtdc run

Output

Start 3 tests from 1 test case
Run tests:
  SUCCEED unit_tests::test.test_case1 (0 ms total)
  SUCCEED unit_tests::test.test_case2 (0 ms total)
  IGNORED test.test_case3 (0 ms total)
    Test ignored

Test results:
  SUCCEED 2 tests.
  IGNORED 1 test.
End 3 tests from 1 test case ran. (0 ms total)