apache / apache/maven-surefire

[SUREFIRE-2254] Ability to disable system-out/err for skipped tests in XML report

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

**[Stamatis Zampetakis](https://issues.apache.org/jira/secure/ViewProfile.jspa?name=zabetak)** opened **[SUREFIRE-2254](https://issues.apache.org/jira/browse/SUREFIRE-2254?redirect=false)** and commented

The plugin always includes system-out and system-err in the XML report when a test is skipped. Developers treat a skipped test more or less the same with a successful test thus storing system-out and system-err is rarely useful.

Similar to SUREFIRE-1934, it would be convenient to have a property to disable system-out and system-err for skipped tests.

---

**Affects:** 3.3.1

**Issue Links:**
- [SUREFIRE-1934](https://issues.apache.org/jira/browse/SUREFIRE-1934) Ability to disable system-out/system-err for successfully passed tests

- [HIVE-28401](https://issues.apache.org/jira/browse/HIVE-28401) Drop redundant XML test report post-processing from CI pipeline

Contributor guide

Open the contributing guide

Research direction

Start by reading the SUREFIRE-1934 issue and tracing the Surefire XML report handling for skipped tests. Identify the existing system-out/system-err configuration and its related tests; done means a property can suppress both elements for skipped tests without changing other report behavior.

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
45/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.