-
-
Notifications
You must be signed in to change notification settings - Fork 1.4k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
maven-surefire-plugins's setting "redirectTestOutputToFile" is being ignored #986
Comments
I've worked on the Surefire provider a little bit and I'm not surprised that the executor doesn't redirect the output. I've been working on a JUnit 5 extension that allows you to control the console but I think what's needed here is for the provider itself to redirect System.out. Fortunately the test results themselves are recorded via the I'm not sure that the JUnit 5 team is interested in making this code a full-fledged |
I'd appreciate such contribution ;) |
I've assigned this to the general backlog and put it "up for grabs". |
Is this issue still free to be worked on? |
@smoyer64 Is it? |
@marcphilipp - I haven't started working on it yet so I'd say "yes". |
Hey guys, has somebody picked it up yet? |
@kaustubhmallik, not to my knowledge. Feel free to give it a shot and report back here. |
Hi! For this issue, I added a new pull request. |
…plements ConsoleOutputReceiver (code review) Issue: junit-team#986
…m.out and System.err to default platform values. Issue: junit-team#986
…plements ConsoleOutputReceiver (code review) Issue: #986
…m.out and System.err to default platform values. Issue: #986
…plements ConsoleOutputReceiver (code review) Issue: #986
…m.out and System.err to default platform values. Issue: #986
…plements ConsoleOutputReceiver (code review) Issue: junit-team#986
…m.out and System.err to default platform values. Issue: junit-team#986
Closes junit-team#1073. Fixes junit-team#986. Fixes junit-team#1096.
Given the following plugin definition:
and tests, that produce console output with
System.out.println()
, Test's console output is being written out on the actual console, while it is expected to be redirected to surefire's files, as it happened before addingjunit-vintage-engine
andjunit-platform-surefire-provider
to dependencies.This issue is severe, because the project I'm working on heavily depends on the fact that tests output is suppressed (without it, it produces hundreds of megabytes of logs, ruining the performance and blocking storage capacity).
The text was updated successfully, but these errors were encountered: