-
-
Notifications
You must be signed in to change notification settings - Fork 109
Fix: --junit-output-path CLI argument not being respected
#4096
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
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,6 +1,6 @@ | ||
| { | ||
| "sdk": { | ||
| "version": "10.0.101", | ||
| "version": "10.0.100", | ||
|
||
| "rollForward": "latestMajor", | ||
| "allowPrerelease": true | ||
| }, | ||
|
|
||
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The fix correctly preserves CLI argument values, but there's no test coverage for this priority ordering behavior. The existing tests in TUnit.Engine.Tests/JUnitReporterTests.cs verify environment variable behavior but don't test the interaction between SetOutputPath() and IsEnabledAsync().
Consider adding a test case that verifies:
This would ensure the priority order (CLI > env var > default) is maintained in future changes.