xtd - Reference Guide  0.1.0
Modern c++17 framework to create console, gui and unit test applications on Windows, macOS and Linux.
xtd::tunit Namespace Reference

The tunit namespace contains a unit test library. More...

Classes

class  abort_error
 Exception thow when abort. More...
 
class  assert
 The assert class contains a collection of static methods that implement the most common assertions used in xtd::tUnit. More...
 
class  assert_error
 Exception thow when an assertion failed. More...
 
class  assume
 The assume class contains a collection of static methods that implement the most common assertions used in xtd::tUnit. More...
 
class  base_assert
 
class  class_cleanup_attribute
 This attribute is use to add cleaup class method to class test attribute. More...
 
class  class_event_args
 Provides data for the xtd::tunit::class_test events. More...
 
class  class_initialize_attribute
 This attribute is use to add initialize class method to class test attribute. More...
 
class  collection_assert
 The collection_assert class contains a collection of static methods that implement the most collection assertions used in xtd::tUnit. More...
 
class  collection_assume
 The collection_assume class contains a collection of static methods that implement the most collection assertions used in xtd::tUnit. More...
 
class  collection_valid
 The collection_valid class contains a collection of static methods that implement the most collection assertions used in xtd::tUnit. More...
 
class  console_unit_test
 The console_unit_test class is console unit test interface. More...
 
class  directory_assert
 The directory_assert class contains a collection of static methods that implement the most directory assertions used in xtd::tUnit. More...
 
class  directory_assume
 The directory_assume class contains a collection of static methods that implement the most directory assertions used in xtd::tUnit. More...
 
class  directory_valid
 The directory_valid class contains a collection of static methods that implement the most directory assertions used in xtd::tUnit. More...
 
class  event_listener
 Represent the event listener class. Unit test call theses events when unit tests are processing. More...
 
class  file_assert
 The file_assert class contains a collection of static methods that implement the most file assertions used in xtd::tUnit. More...
 
class  file_assume
 The file_assume class contains a collection of static methods that implement the most file assertions used in xtd::tUnit. More...
 
class  file_valid
 The file_valid class contains a collection of static methods that implement the most file assertions used in xtd::tUnit. More...
 
class  ignore_error
 Exception thow when ignore. More...
 
class  line_info
 line_info information class is used to store current file, current line and current function information. More...
 
class  ostream_event_listener
 The ostream_unit_test class is a specialisation of event_listener class for writing events in std::ostream. More...
 
class  ostream_unit_test
 The ostream_unit_test class is ostream unit test interface. More...
 
class  registered_test_class
 
class  settings
 The settings class contains xtd.tunit settings. More...
 
class  string_assert
 The string_assert class contains a collection of static methods that implement the most string assertions used in xtd::tUnit. More...
 
class  string_assume
 The string_assume class contains a collection of static methods that implement the most string assertions used in xtd::tUnit. More...
 
class  string_valid
 The string_valid class contains a collection of static methods that implement the most string assertions used in xtd::tUnit. More...
 
class  test
 
class  test_class
 
class  test_class_attribute
 
class  test_cleanup_attribute
 
class  test_event_args
 Provides data for the xtd::tunit::test events. More...
 
class  test_initialize_attribute
 
class  test_method_attribute
 
class  tunit_event_args
 tunit_event_args is the base class for classes containing event data. More...
 
class  unit_test
 The template class. More...
 
class  valid
 The valid class contains a collection of static methods that implement the most common assertions used in xtd::tUnit. More...
 

Enumerations

enum  test_state { test_state::considered, test_state::ignored }
 Represent the test state enumeration used bu test. More...
 

Detailed Description

The tunit namespace contains a unit test library.