You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
StoreConsoleOutput should be split into two options - one for testsuite and one for testcase level #164
Is your feature request related to a problem? Please describe.
I produce fairly large test reports with a lot of content being sent to standard output. I only care about this content per test case. I do not want it being repeated at the testsuite level as my report file becomes twice as long for no real reason.
Describe the solution you'd like
I would like for two new options:
StoreTestCaseConsoleOutput: true/false
StoreTestSuiteConsoleOutput: true/false
We can retain StoreConsoleOutput option for compatibility. The value of that should be used and then overwritten if one of the two above specific ones are specified.
Activity
codito commentedon Mar 11, 2025
@MJB222398 thanks for reporting this issue. Should we enhance
StoreConsoleOutputto have more values?StoreConsoleOutput=true: current behavior. Both testcase and testsuite outputs are emitted.StoreConsoleOutput=false: current behavior. No outputs are captured.StoreConsoleOutput=testcase: only testcase output is captured.StoreConsoleOutput=testsuite: only testsuite output is captured.Would you be open to contributing a fix?
MJB222398 commentedon Mar 11, 2025
@codito Yeah let me have a go at this.
feat: Allow console output to be stored for either/both/none of tests…
codito commentedon Mar 13, 2025
@MJB222398 thanks for the PR! I will cut a release this weekend.
codito commentedon Mar 15, 2025
v6.1.0 is released to NuGet with this fix. Thanks again for your contribution!
https://www.nuget.org/packages/JunitXml.TestLogger/