others examples
January 14, 2024 ยท View on GitHub
- class_with_insert_stream_operator shows how to use xtd::tunit::assert class with a class to test that contains insert stream operator.
- class_without_insert_stream_operator shows how to use xtd::tunit::assert class with a class to test that does not contain insert stream operator.
- create_gtest_like_event_listener shows how to create your own xtd::tunit::event_listener class.
- line_info shows how to use xtd::diagnostics::stack_frame class and csf_ keyword.
- many_asserts shows how to use xtd::tunit::assert class with many asserts.
- many_valids_and_asserts shows how to use xtd::tunit::valid and xtd::tunit::assert classes with many valids and asserts.
- tunit_config_main shows how to use TUNIT_CONFIG_MAIN define to automatically generate entry point.
Build and run any project
Open "Command Prompt" or "Terminal". Navigate to the folder that contains the project and type the following:
xtdc run -t any_project_name