Skip to content
This repository has been archived by the owner on Sep 3, 2024. It is now read-only.

Latest commit

 

History

History
9 lines (5 loc) · 723 Bytes

README.md

File metadata and controls

9 lines (5 loc) · 723 Bytes

surefire-1851-demo

This repository is now archived because the bug has been fixed.

Minimal repository to demonstrate bug SUREFIRE-1851. This shows that throwing odd errors (for example, if they are mocked) can break the Maven test runner, resulting in false positive results.

Simply clone and run mvn test. You can also see the result of this in GitHub Actions.

ExampleTest.aFailingTest() should fail, which should cause the mvn test command to fail. However, due to a bug (tracked by SUREFIRE-1851) this failing test breaks the runner, and Maven reports that all tests were successful 😬