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

πŸ› Recreates bug in Maven, tracked by SUREFIRE-1851

Notifications You must be signed in to change notification settings

domdomegg/surefire-1851-mre

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

5 Commits
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

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 😬

About

πŸ› Recreates bug in Maven, tracked by SUREFIRE-1851

Resources

Stars

Watchers

Forks

Sponsor this project

Languages