Skip to content

Latest commit

 

History

1 Commit

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Exevra Spring Boot demo

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.

Run main

mvn test

Surefire 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.

Inspect the failure

git checkout demo/broken-test-discovery
mvn test

Maven still passes. The Exevra workflow does not.

About

Small Spring Boot demo showing Exevra catching a JUnit test-discovery regression in CI.

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages