apache / apache/maven-surefire

[SUREFIRE-1458] When multiple surefire providers are available through the maven plugin dependency test are executed N times

Open
#2,192 3 comments 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

**[Romain Manni-Bucau](https://issues.apache.org/jira/secure/ViewProfile.jspa?name=romain.manni-bucau)** opened **[SUREFIRE-1458](https://issues.apache.org/jira/browse/SUREFIRE-1458?redirect=false)** and commented

In a parent surefire-junit47 is enforced and if I add in a child another provider (junit5) then tests are executed twice

---

**Issue Links:**
- [SUREFIRE-1963](https://issues.apache.org/jira/browse/SUREFIRE-1963) Detecting multiple test-frameworks

Contributor guide

Open the contributing guide

Research direction

Start by examining how the Maven plugin discovers providers when surefire-junit47 is inherited and junit5 is added in a child. Compare the duplicate execution with the linked SUREFIRE-1963 issue; done means tests run once when multiple providers are available.

Written by the indexing model from the issue text.

Assessment

Tech stack
java
Domain
build-system, testing
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.