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
Running test NETCore.Tests.NETCore10Tests.SkipFactTest...
Test passed
It would be nice if instead the test indicates that the tests were skipped. It would also be useful if the skip reason is also displayed as is currently done by the console runner. Note that this information can be currently found in the OmniSharp Log but it's noisy and hard to extract the relevant information
Theory tests do not indicate how many tests were run and how many passed or failed
Similar to the previous case, .NET Test Log does not indicate how many iterations of a Theory test is run and how many of them passed or failed. This information is readily available if the test was run with the console runner. For example
Running test NETCore.Tests.NETCore10Tests.InlineDataTests...
Test failed
It is difficult to extract the fact that two tests were run, for inputs 0 and 1, and the input of 0 caused a failure while the input of 1 passed. Even in the OmniSharp Log it is difficult to see this:
Custom theory tests results report incorrect input parameters
See repro at https://github.com/JunTaoLuo/DotnetTest. Use the test project under test/NETCore10.Tests and run the test NETCore.Tests.NETCore10Tests.SkipTheoryTests. It is strange to see that there are 4 variations that are detected and run. In the OmniSharp Log I see:
NETCore.Tests.NETCore10Tests.SkipTheoryTests(number: 0)(number: 0) [SKIP]
Test must be skipped
NETCore.Tests.NETCore10Tests.SkipTheoryTests(number: 0)(number: 1) [SKIP]
Test must be skipped
NETCore.Tests.NETCore10Tests.SkipTheoryTests(number: 1)(number: 0) [SKIP]
Test must be skipped
NETCore.Tests.NETCore10Tests.SkipTheoryTests(number: 1)(number: 1) [SKIP]
Test must be skipped
When run with the command line runner I see the two variations that I expected:
xUnit.net .NET CLI test runner (64-bit .NET Core osx.10.11-x64)
Discovering: NETCore10.Tests
Discovered: NETCore10.Tests
Starting: NETCore10.Tests
NETCore.Tests.NETCore10Tests.SkipTheoryTests(number: 0) [SKIP]
Test must be skipped
NETCore.Tests.NETCore10Tests.SkipTheoryTests(number: 1) [SKIP]
Test must be skipped
Finished: NETCore10.Tests
=== TEST EXECUTION SUMMARY ===
NETCore10.Tests Total: 2, Errors: 0, Failed: 0, Skipped: 2, Time: 0.128s
Minor GUI inconsistency
This is a minor inconvenience but the references, run test and debug test options show up in different orders for different test methods sometimes. It could be annoying since I often mis click when I assume the last option is run test. For example.
Note that these issues were found on VS Code for OSX.
cc @troydai
The text was updated successfully, but these errors were encountered:
Environment data
dotnet --info
output: 1.0.0-preview2-003118VS Code version: 1.2.1
C# Extension version: 1.1.6
Skipped tests are marked as passed
Currently tests marked as skipped will show a passed result when run from VS Code. For example:
outputs:
It would be nice if instead the test indicates that the tests were skipped. It would also be useful if the skip reason is also displayed as is currently done by the console runner. Note that this information can be currently found in the OmniSharp Log but it's noisy and hard to extract the relevant information
Theory tests do not indicate how many tests were run and how many passed or failed
Similar to the previous case, .NET Test Log does not indicate how many iterations of a Theory test is run and how many of them passed or failed. This information is readily available if the test was run with the console runner. For example
outputs:
It is difficult to extract the fact that two tests were run, for inputs 0 and 1, and the input of 0 caused a failure while the input of 1 passed. Even in the OmniSharp Log it is difficult to see this:
Custom theory tests results report incorrect input parameters
See repro at https://github.com/JunTaoLuo/DotnetTest. Use the test project under
test/NETCore10.Tests
and run the testNETCore.Tests.NETCore10Tests.SkipTheoryTests
. It is strange to see that there are 4 variations that are detected and run. In the OmniSharp Log I see:When run with the command line runner I see the two variations that I expected:
Minor GUI inconsistency
This is a minor inconvenience but the references, run test and debug test options show up in different orders for different test methods sometimes. It could be annoying since I often mis click when I assume the last option is run test. For example.
Note that these issues were found on VS Code for OSX.
cc @troydai
The text was updated successfully, but these errors were encountered: