#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.h:21
This attribute is use to add initialize class method to class test attribute.
Definition class_initialize_attribute.h:21
The console_unit_test class is console unit test interface.
Definition console_unit_test.h:23
Represents a test class attribute.
Definition test_class_attribute.h:24
Represents a test class.
Definition test_class.h:39
Represents a test cleanup attribute.
Definition test_cleanup_attribute.h:21
Represents a test initialize attribute.
Definition test_initialize_attribute.h:17
Represents a test method attribute.
Definition test_method_attribute.h:23
Represents a test method.
Definition test.h: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.h:10