tunitconfigmain

September 14, 2025 ยท View on GitHub

Shows how to use TUNIT_CONFIG_MAIN define to generate automatically entry point.

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 1 test from 1 test case
Run tests:
  SUCCEED unit_tests::test.test_case1 (0 ms total)

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