#include <xtd/xtd.tunit>
namespace unit_tests {
static void class_initialize() {
}
static void class_cleanup() {
}
static void test_initialize() {
}
static void test_cleanup() {
}
void test_case1() {
}
void test_case2() {
}
void test_case3() {
}
};
}
auto main() -> int {
}
This attribute is use to add cleanup class method to class test attribute.
Definition class_cleanup_attribute.hpp:21
This attribute is use to add initialize class method to class test attribute.
Definition class_initialize_attribute.hpp:21
The console_unit_test class is console unit test interface.
Definition console_unit_test.hpp:23
Represents a test class attribute.
Definition test_class_attribute.hpp:24
Represents a test class.
Definition test_class.hpp:39
Represents a test cleanup attribute.
Definition test_cleanup_attribute.hpp:21
Represents a test initialize attribute.
Definition test_initialize_attribute.hpp:17
Represents a test method attribute.
Definition test_method_attribute.hpp:23
Represents a test method.
Definition test.hpp:29
int32 run() noexcept
Runs all tests in this unit_test object and prints the result.
The tunit namespace contains a unit test library.
Definition abort_error.hpp:10