-
Notifications
You must be signed in to change notification settings - Fork 80
Closed
Labels
ExternalThe issue is caused by an external partyThe issue is caused by an external party
Description
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
- 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
Metadata
Metadata
Assignees
Labels
ExternalThe issue is caused by an external partyThe issue is caused by an external party