Skip to content
This repository was archived by the owner on Oct 20, 2025. It is now read-only.

Conversation

@ermshiperete
Copy link
Contributor

@ermshiperete ermshiperete commented Mar 1, 2018

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 Reviewable

Current nunit3-console versions use "--" as switch separator on
both Windows and Linux. Also the --verbose switch has been
replaced by --trace=Verbose.
Copy link

@JorisSpriet JorisSpriet left a 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("--labels=", _showLabels);

builder.AppendSwitchIfNotNull(c+"trace=", _trace);
builder.AppendSwitchIfNotNull("--trace=", _trace);

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);

@ermshiperete
Copy link
Contributor Author

@JorisSpriet Good catch. What should happen if a user specifies both Verbose and InternalTrace?

@JorisSpriet
Copy link

JorisSpriet commented Jun 19, 2018 via email

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants