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

Warnings are not shown in console in runner mode #2062

Closed
MarcoRossignoli opened this issue Jan 8, 2024 · 2 comments
Closed

Warnings are not shown in console in runner mode #2062

MarcoRossignoli opened this issue Jan 8, 2024 · 2 comments
Assignees
Labels

Comments

@MarcoRossignoli
Copy link
Contributor

MarcoRossignoli commented Jan 8, 2024

During the discovery we collect warnings to explain to the users if something is not good.
Warning can lead to a test session failure for instance for zero tests ran, but without the console output is hard to understand what's wrong.

Here looks like we send the warning to the logger inside the bridge but we don't send it to the display output https://github.com/microsoft/testfx/blob/main/src/Adapter/MSTest.TestAdapter/Discovery/UnitTestDiscoverer.cs#L73

cc: @Evangelink

@Evangelink
Copy link
Member

This should be fixed on next insertion. I'll try to add an integration test when it gets inserted.

@Evangelink
Copy link
Member

Closed by #2070

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

No branches or pull requests

2 participants