initial version of a reporter system! inherit from the IReporter class and register it with doctest::registerReporter()
diff --git a/examples/all_features/header.h b/examples/all_features/header.h
index a9ccd66..116dc50 100644
--- a/examples/all_features/header.h
+++ b/examples/all_features/header.h
@@ -46,6 +46,8 @@
DOCTEST_GCC_SUPPRESS_WARNING("-Wstrict-overflow")
#endif // gcc 5
+DOCTEST_MSVC_SUPPRESS_WARNING_WITH_PUSH(26439) // This kind of function may not throw. Declare it 'noexcept'
+
struct SomeFixture
{
int data;
@@ -59,6 +61,8 @@
}
};
+DOCTEST_MSVC_SUPPRESS_WARNING_POP
+
TEST_CASE_FIXTURE(SomeFixture, "fixtured test") {
data /= 2;
CHECK(data == 21);