-
Notifications
You must be signed in to change notification settings - Fork 271
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
Fix NUnit3 task on Linux #276
base: master
Are you sure you want to change the base?
Conversation
Current nunit3-console versions use "--" as switch separator on both Windows and Linux. Also the --verbose switch has been replaced by --trace=Verbose.
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.
With this change, if you now specify both Verbose and InternalTrace task properties, it now creates two times the --trace option for the console runner
|
||
builder.AppendSwitchIfNotNull(c+"trace=", _trace); | ||
builder.AppendSwitchIfNotNull("--trace=", _trace); |
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.
Propose to change to:
if(!Verbose) builder.AppendSwitchIfNotNull("--trace=", _trace);
@JorisSpriet Good catch. What should happen if a user specifies both Verbose and InternalTrace? |
I suggest to make Verbose take precedence. I entered some comment with the
change too - these are my very first steps on GitHub...
In any case, the option is no longer supported in Nunit3 - so maybe also
output a warning if it _is_ used.
Joris.
…On Tue, Jun 19, 2018 at 6:01 PM, Eberhard Beilharz ***@***.*** > wrote:
@JorisSpriet <https://github.com/JorisSpriet> Good catch. What should
happen if a user specifies both Verbose and InternalTrace?
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<#276 (comment)>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/AJyu5-6O1qJVyBKRqvCX1cH_oHOlczDBks5t-SBXgaJpZM4SY0XY>
.
|
Current nunit3-console versions use "--" as switch separator on
both Windows and Linux. Also the --verbose switch has been
replaced by --trace=Verbose.
This change is