This repository shows Exevra catching a JUnit test-discovery regression that Maven does not fail.
main runs two test classes with Maven Surefire. Exevra records that execution baseline and checks it in pull requests.
The demo/broken-test-discovery branch adds a Surefire include filter that excludes GreetingFormatterTest. Maven passes because the remaining controller tests pass. Exevra fails because one expected JUnit suite disappeared.
mvn testSurefire writes JUnit XML to target/surefire-reports/. The workflow runs the same Maven command through Exevra/exevra@v0.1.0 and compares the fresh reports with .exevra/baseline.json.
git checkout demo/broken-test-discovery
mvn testMaven still passes. The Exevra workflow does not.