allure-framework / allure-framework/allure-java

Add parameter to control attach mode to attach stdOut/stdErr always or only test failure

Open
#496 0 comments 4 reactions 0 assignees View on GitHub
Dominant language
Java
Stars
376
Forks
240
Avg merge
1d 7h
Merged PRs (30d)
45

Description

Hello! Is possible to add some new parameter to control the mode of stdOut/stdErr attachments?
For example, i want to attach stdOut/stdErr to report only if test is failed.

Src code where attachment is processing:
https://github.com/allure-framework/allure-java/blob/41c9d518f8d2fd84d51348268eef57c115d1e18b/allure-junit-platform/src/main/java/io/qameta/allure/junitplatform/AllureJunitPlatform.java#L224

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.