Catch2
Catch2 copied to clipboard
JUnit and console reporter discrepency.
Hi guys,
I don’t know if this is a bug or not, but I just discovered that there is a discrepancy between how JUnit and console reporters report run test cases.
If I will create a test case that does not have any assertions in it, the test will not be reported by JUnit even though it was run.
For example:
TEST_CASE("SomeTest")
{
// Do something here
//CHECK(true);
}
This test won't be seen in JUnit file but the console reporter will report it. Shouldn't it be visible in JUnit report as well?