Skip to content
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

control output when using EnableMSTestRunner #2172

Closed
jpribele opened this issue Jan 25, 2024 · 2 comments
Closed

control output when using EnableMSTestRunner #2172

jpribele opened this issue Jan 25, 2024 · 2 comments

Comments

@jpribele
Copy link

is there a way to change the output when using EnableMSTestRunner in your project?
trx output or console logging that show the tests ran.

one thing that would be nice it to log messages in the output.
I often use a test for a quick way to test code but the Console.WriteLine don't show up or TestContext.WriteLines

@Evangelink
Copy link
Member

There is an extension to generate TRX report.

For the other part of your question, it partially relates to #2162. This is the same reasoning behind why we don't display these messages in the console. As far the console.writeline messages, I'm not a big fan of current implementation. I believe that we should not capture Console.Write messages but instead rely only on TestContext writes.

All these being said, and as we said in the linked ticket, I think that it makes sense to provide an option to allow displaying that.

Copy link
Contributor

Hello @jpribele,
This issue has been automatically marked as stale because it has been marked as requiring author feedback but has not had any activity for 7 days. It will be closed if no further activity occurs within 7 days of this comment.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants