You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
We've been using mstest which works fine sa per [https://github.com/OmniSharp/omnisharp-vscode/wiki/How-to-run-and-debug-unit-tests]. However the output from the test doesn't appear to go to the terminal window.
i.e. when I run a test all I see is
Build succeeded.
0 Warning(s)
0 Error(s)
Time Elapsed 00:00:13.84
Total tests: 1. Passed: 0. Failed: 1. Skipped: 0
If I run from from console i.e. >dotnet test then messages from the failed tests appear in the terminal window (and log messages as we have a console logger configured for our tests, i.e.
Starting test execution, please wait...
Failed TestReports
Error Message:
Assert.IsNull failed. items is not null
...
Total tests: 3. Passed: 2. Failed: 1. Skipped: 0.
Test Run Failed.
Test execution time: 3.1644 Seconds
Is there a way of capturing this output when running using the code lense links?
Regards
Dave
The text was updated successfully, but these errors were encountered:
It looks like O# returns the output of individual unit tests but the C# extension doesn't print the output. @david-waterworth Thanks for filing this, we will take a look.
@rchande I have added some more logging around the tests in the PR: #2337. We do need some more information from omnisharp and I have filed an issue here : OmniSharp/omnisharp-roslyn#1198
We've been using mstest which works fine sa per [https://github.com/OmniSharp/omnisharp-vscode/wiki/How-to-run-and-debug-unit-tests]. However the output from the test doesn't appear to go to the terminal window.
i.e. when I run a test all I see is
If I run from from console i.e.
>dotnet test
then messages from the failed tests appear in the terminal window (and log messages as we have a console logger configured for our tests, i.e.Is there a way of capturing this output when running using the code lense links?
Regards
Dave
The text was updated successfully, but these errors were encountered: