junit-team / junit5

✅ The 5th major version of the programmer-friendly testing framework for Java and the JVM

Home Page:https://junit.org

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Run only previously failed tests with Maven

pandoras-toolbox opened this issue · comments

Is it possible to run only the previously failed tests? We use Maven and Surefire.

After a complete test suite is run some tests might have failed. I would like to run only these failed tests, but not to specifiy them individually and manually in the command.

I know there is a feature to automatically rerun a failed test during the execution, I do not need that.

Hi @pandoras-toolbox,

Please note that this is the issue tracker for JUnit 5, not for Maven and Surefire.

In addition, the following is our general policy for this issue tracker.


Thanks for getting in touch, but it feels like this is a question that would be better suited to Stack Overflow. We prefer to use the issue tracker only for bugs and enhancements. Feel free to update this issue with a link to the re-posted question (so that other people can find it) or add some more details if you feel this is a genuine bug.

I see, sorry.