apache / apache/maven-surefire

[SUREFIRE-1064] Provide a way to run only failed tests

Open
#1,471 1 comment 0 reactions 0 assignees View on GitHub
enhancement priority:major
Dominant language
Java
Stars
461
Forks
588
Avg merge
1d 8h
Merged PRs (30d)
19

Description

**[Pascal Schumacher](https://issues.apache.org/jira/secure/ViewProfile.jspa?name=pschumacher)** opened **[SUREFIRE-1064](https://issues.apache.org/jira/browse/SUREFIRE-1064?redirect=false)** and commented

We use maven for end-to-end tests of a highly asynchronous system (which includes third-party software we can not modify). Sometimes only 1-3 out of hundreds of test fail. It would be nice if there were a way to rerun these failed test only.

---

2 votes, 4 watchers

Contributor guide

Open the contributing guide

Research direction

The issue names the Maven Surefire project but no implementation files, tests, or entry points. Begin by locating the existing test-selection and failure-reporting paths in Surefire and Failsafe, then determine how failed tests could be identified and rerun. Done means a defined, documented way to run only previously failed tests, with coverage for the behavior.

Written by the indexing model from the issue text.

Assessment

Tech stack
java
Domain
build-system, testing
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
30/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.