Contains unit tests definitions.
Modules | |
| assertions | |
| Contains assertions definitions.  | |
| assumptions | |
| Contains assumptions definitions.  | |
| validations | |
| Contains validations definitions.  | |
Classes | |
| class | xtd::tunit::base_assert | 
| The base class for assert.  More... | |
| class | xtd::tunit::class_cleanup_attribute | 
| This attribute is use to add cleanup class method to class test attribute.  More... | |
| class | xtd::tunit::class_event_args | 
| Provides data for the xtd::tunit::class_test events.  More... | |
| class | xtd::tunit::class_initialize_attribute | 
| This attribute is use to add initialize class method to class test attribute.  More... | |
| class | xtd::tunit::console_unit_test | 
| The console_unit_test class is console unit test interface.  More... | |
| class | xtd::tunit::event_listener | 
| Represent the event listener class. Unit test call theses events when unit tests are processing.  More... | |
| class | xtd::tunit::ostream_event_listener | 
| The ostream_unit_test class is a specialisation of event_listener class for writing events in std::ostream.  More... | |
| class | xtd::tunit::ostream_unit_test | 
| The ostream_unit_test class is ostream unit test interface.  More... | |
| class | xtd::tunit::registered_test_class | 
| Represents the registered test class.  More... | |
| class | xtd::tunit::settings | 
| The settings class contains xtd.tunit settings.  More... | |
| class | xtd::tunit::test | 
| Represents a test method.  More... | |
| class | xtd::tunit::test_class | 
| Represents a test class.  More... | |
| class | xtd::tunit::test_class_attribute< test_class_t > | 
| Represents a test class attribute.  More... | |
| class | xtd::tunit::test_cleanup_attribute | 
| Represents a test cleanup attribute.  More... | |
| class | xtd::tunit::test_event_args | 
| Provides data for the xtd::tunit::test events.  More... | |
| class | xtd::tunit::test_method_attribute | 
| Represents a test method attribute.  More... | |
| class | xtd::tunit::tunit_event_args | 
| tunit_event_args is the base class for classes containing event data.  More... | |
| class | xtd::tunit::unit_test | 
| The unit_test class is unit test base interface.  More... | |
Macros | |
| #define | class_cleanup_(method_name) | 
| Add class cleanup method to class test.   | |
| #define | class_initialize_(method_name) | 
| add initialize class method to class test.   | |
| #define | test_class_(class_name) | 
| Helper to create a test_class in a test unit.   | |
| #define | test_class_from_(class_name, from_class_name) | 
| Helper to create a test_class in a test unit from a specified class base.   | |
| #define | test_cleanup_(method_name) | 
| Helper to create a test cleanup method in a test class.   | |
| #define | test_initialize_(method_name) | 
| Helper to create a test initialize method in a test class.   | |
| #define | ignore_test_method_(method_name) | 
| Add ignored test method to class test.   | |
| #define | test_method_(method_name) | 
| Add test method to class test.   | |
| #define | tunit_main_ | 
| Defines the entry point to be called with startup_ for unit test application.   | |
| #define | tunit_main_with_gtest_compatibility_ | 
| Defines the entry point to be called with startup_ for unit test application with Google test compatibility.   | |
Enumerations | |
| enum class | xtd::tunit::test_state {  xtd::tunit::test_state::considered , xtd::tunit::test_state::ignored }  | 
| Represent the test state enumeration used bu test.  More... | |
| #define class_cleanup_ | ( | method_name | ) | 
#include <xtd.tunit/include/xtd/tunit/class_cleanup_attribute.hpp>
Add class cleanup method to class test.
| method_name | The class cleanup method to add. | 
| #define class_initialize_ | ( | method_name | ) | 
#include <xtd.tunit/include/xtd/tunit/class_initialize_attribute.hpp>
add initialize class method to class test.
| method_name | The class initilize method to add. | 
| #define test_class_ | ( | class_name | ) | 
#include <xtd.tunit/include/xtd/tunit/test_class_attribute.hpp>
Helper to create a test_class in a test unit.
| class_name | The test class to add to unit test. | 
| #define test_class_from_ | ( | class_name, | |
| from_class_name | |||
| ) | 
#include <xtd.tunit/include/xtd/tunit/test_class_attribute.hpp>
Helper to create a test_class in a test unit from a specified class base.
| class_name | The name of the test class. | 
derived_class inherited from base_class : | #define test_cleanup_ | ( | method_name | ) | 
#include <xtd.tunit/include/xtd/tunit/test_cleanup_attribute.hpp>
Helper to create a test cleanup method in a test class.
| method_name | The test cleanup method to add. | 
| #define test_initialize_ | ( | method_name | ) | 
#include <xtd.tunit/include/xtd/tunit/test_initialize_attribute.hpp>
Helper to create a test initialize method in a test class.
| method_name | The name of the test initialize method. | 
| #define ignore_test_method_ | ( | method_name | ) | 
#include <xtd.tunit/include/xtd/tunit/test_method_attribute.hpp>
Add ignored test method to class test.
| method_name | The ignored test method to add. | 
| #define test_method_ | ( | method_name | ) | 
#include <xtd.tunit/include/xtd/tunit/test_method_attribute.hpp>
Add test method to class test.
| method_name | The test method to add. | 
| #define tunit_main_ | 
#include <xtd.tunit/include/xtd/tunit/tunit_main.hpp>
Defines the entry point to be called with startup_ for unit test application.
| #define tunit_main_with_gtest_compatibility_ | 
#include <xtd.tunit/include/xtd/tunit/tunit_main.hpp>
Defines the entry point to be called with startup_ for unit test application with Google test compatibility.
      
  | 
  strong | 
#include <xtd.tunit/include/xtd/tunit/test_state.hpp>
Represent the test state enumeration used bu test.
| Enumerator | |
|---|---|
| considered | Test is considered.  | 
| ignored | Test is ignored.  |