![]() |
tunit - Reference Guide
1.0.0
Modern c++17 unit testing framework on Windows, macOS, Linux, iOS and android.
|
The template class. More...
#include <unit_test.h>

Public Member Functions | |
| unit_test (std::unique_ptr< tunit::event_listener > event_listener) noexcept | |
| unit_test (std::unique_ptr< tunit::event_listener > event_listener, char *argv[], int argc) noexcept | |
| size_t | aborted_test_count () const noexcept |
| std::vector< std::string > | aborted_test_names () const noexcept |
| std::chrono::milliseconds | elapsed_time () const noexcept |
| size_t | failed_test_count () const noexcept |
| std::vector< std::string > | failed_test_names () const noexcept |
| size_t | ignored_test_count () const noexcept |
| std::vector< std::string > | ignored_test_names () const noexcept |
| int | repeat_iteration () const noexcept |
| int | repeat_iteration_count () const noexcept |
| bool | repeat_tests () const noexcept |
| int | run () |
| Runs all tests in this UnitTest object and prints the result. More... | |
| size_t | succeed_test_count () const noexcept |
| std::vector< std::string > | succeed_test_names () const noexcept |
| size_t | test_cases_count () const noexcept |
| size_t | test_count () const noexcept |
Protected Member Functions | |
| virtual int | list_tests (const std::vector< std::string > &tests) |
| virtual bool | parse_arguments (const std::vector< std::string > &args) |
Friends | |
| class | tunit::base_assert |
| class | tunit::test |
| class | tunit::test_class |
| template<typename TestClass > | |
| class | tunit::test_class_attribute |
The template class.
|
inline |
Runs all tests in this UnitTest object and prints the result.