Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

JUnit and console reporter discrepency. #2856

Open
TrueWodzu opened this issue Apr 15, 2024 · 0 comments
Open

JUnit and console reporter discrepency. #2856

TrueWodzu opened this issue Apr 15, 2024 · 0 comments

Comments

@TrueWodzu
Copy link
Contributor

TrueWodzu commented Apr 15, 2024

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?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant