Catch2 icon indicating copy to clipboard operation
Catch2 copied to clipboard

JUnit and console reporter discrepency.

Open TrueWodzu opened this issue 10 months ago • 0 comments

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?

TrueWodzu avatar Apr 15 '24 15:04 TrueWodzu