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
Confirm that the minimal fact created as part of that is discoverable in the VSCode 'Testing' panel AND that the code lens actions are available for it
Follow the v2 -> v3 migration steps (leaving the old package references commented out in csproj)
dotnet clean, dotnet build - test is still discoverable in 'Testing' panel but the code lens actions AREN'T available
Swap the package references back, dotnet clean + dotnet build - and its trivial to get the codelens support back
Nothing particularly smoking-gun esque in logs that I can find:
Tests removed: /Users/kieranbenton/Source/kaizenticketing/MyFirstUnitTests/bin/Debug/net9.0/MyFirstUnitTests.dll
Tests are available, running test discovery: /Users/kieranbenton/Source/kaizenticketing/MyFirstUnitTests/bin/Debug/net9.0/MyFirstUnitTests.dll
Scheduling discovery: /Users/kieranbenton/Source/kaizenticketing/MyFirstUnitTests/bin/Debug/net9.0/MyFirstUnitTests.dll [1735404920350]
========== Starting test discovery ==========
[xUnit.net 00:00:00.00] xUnit.net VSTest Adapter v3.0.0+e341b939fe (64-bit .NET 9.0.0)
[xUnit.net 00:00:00.26] Discovering: MyFirstUnitTests
[xUnit.net 00:00:00.37] Discovered: MyFirstUnitTests
========== Test discovery finished: 1 Tests found in 590 ms ==========
1 tests discovered from /Users/kieranbenton/Source/kaizenticketing/MyFirstUnitTests/bin/Debug/net9.0/MyFirstUnitTests.dll in 590.0289 ms
The text was updated successfully, but these errors were encountered:
Sorry, I have no insight into how the test explorer functionality in VS Code works, but the fact that the tests are detected and runnable and it's only the Code Lens functionality that disappears, should be enough of a starting place for them, I hope.
Reproduction at: https://github.com/kieranbenton/MyFirstUnitTests
Steps:
Follow the https://xunit.net/docs/getting-started/v2/netcore/cmdline tutorial
Confirm that the minimal fact created as part of that is discoverable in the VSCode 'Testing' panel AND that the code lens actions are available for it
Nothing particularly smoking-gun esque in logs that I can find:
The text was updated successfully, but these errors were encountered: