-
-
Notifications
You must be signed in to change notification settings - Fork 732
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
Allow custom loggers in the VSTestSettings #1138
Comments
I propose the following:
I would be happy to submit a PR with these changes. |
@Jericho in general, this seems like a valid approach to me. Question though... Aren't 2 and 6 slightly contradictory? |
They are not contradictory. 6 is necessary to keep the to properties in sync. For example if I invoke .WithCustomLogger("mylogger") I will set the LoggerName to "mylogger" and I also need to be able to set Logger to VSTestLogger.Custom To be clear, 6 is temporary until we remove the obsolete property and obsolete enum. |
VSTestSettings has a property called "Logger" with two possible values: None or Trx.
However, we need to be able to specify custom values. For example, when running on AppVeyor we can specify "/logger:AppVeyor".
As a workaround, I was able to specify the AppVeyor logger using ArgumentCustomization like so:
A few ideas were suggested:
The text was updated successfully, but these errors were encountered: