apache / apache/maven-surefire

[SUREFIRE-1885] Maven is not running any tests called using testng suitexml files in POM

Open
#2,967 0 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

**[Tibor Digana](https://issues.apache.org/jira/secure/ViewProfile.jspa?name=tibor17)** opened **[SUREFIRE-1885](https://issues.apache.org/jira/browse/SUREFIRE-1885?redirect=false)** and commented

I have seen this issue many times and always it was a user error because the file is in wrong place on the file system. This issue improves sanity check in the plugin and eagerly has to crash the plugin while the file does not exist and explain the root cause on the console.

https://sqa.stackexchange.com/questions/45946/maven-is-not-running-any-tests-called-using-testng-suitexml-files-in-pom-xml/46714

---

**Issue Links:**
- [SUREFIRE-1841](https://issues.apache.org/jira/browse/SUREFIRE-1841) \ no longer finds tests starting with 3.0.0-M4

Contributor guide

Open the contributing guide

Research direction

The issue concerns Maven Surefire's handling of in the POM; start by tracing the plugin configuration and compare SUREFIRE-1841. Reproduce the case with a missing suite XML path, then verify the plugin fails early and explains the missing file instead of silently running no tests.

Written by the indexing model from the issue text.

Assessment

Tech stack
java
Domain
build-system, testing
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.