apache / apache/maven-surefire

[SUREFIRE-1834] Make warnings for skipped tests configurable

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

**[Martin Winandy](https://issues.apache.org/jira/secure/ViewProfile.jspa?name=pmwmedia)** opened **[SUREFIRE-1834](https://issues.apache.org/jira/browse/SUREFIRE-1834?redirect=false)** and commented

Currently, Surefire outputs warnings for skipped tests.

For example:

```
[WARNING] Tests run: 4, Failures: 0, Errors: 0, Skipped: 2, Time elapsed: 0.037 s - in org.tinylog.core.runtime.LegacyStackTraceAccessTest
[WARNING] Tests run: 62, Failures: 0, Errors: 0, Skipped: 2
```

I have some platform depending tests, which are enabled or disabled depending on the actual platform. It would be great, if a property could be introduced to disable warnings for skipped tests.

---

**Affects:** 3.0.0-M5

Contributor guide

Open the contributing guide

Research direction

No source files or tests are named in the issue. Start by tracing where Surefire formats warnings for skipped tests and how plugin properties are declared; done means a documented configuration property suppresses those warnings while preserving skipped-test counts.

Written by the indexing model from the issue text.

Assessment

Tech stack
java
Domain
build-system, testing
Issue type
Feature
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.