FCF_TEST_DEFINE macro
Package: fcfTest
File: test.hpp
Available from version: 1.0.1
Declares a test and takes three parameters that organize the test tree (Parts -> Groups -> Tests)
This macro generates a static anonymous class that registers the test with the global storage upon instantiation.
Arguments
- Test part name.
- Test group name
- Test name
- [OPTIONAL] [SINCE 1.1.13] Specifies the name of the test class. Can be used when declaring a friend class.
Example:
FCF_TEST_DEFINE("Network", "HTTP", "GetRequestTest") {
// Test implementation
}
FCF_TEST_DEFINE("Network", "HTTP", "PostRequestTest") {
// Test implementation
}
VPSDime is an industry leading VPS hosting company that provides virtualized server services with high performance, availability and friendly support.