Expected: as per the NUnit documentation here, I should be able to run the unit tests from the command line using dotnet test

Actual: No tests are ever found
Environment
Dell XPS 15, 32BG ram
Running clrver outputs
Versions installed on the machine:
v2.0.50727
v4.0.30319
.Net 5.0 SDK has been installed manually
Steps to reproduce
- Open VS2019 and clone the nunit repo into a clean directory
- Open windows PowerShell and navigate to the directory
- Run
build --target=Test --configuration=Release
- NuGet packages restored, all dlls are built, all unit tests pass (for all framework targets)

- Navigate to the bin\Release\net5.0 directory
- Run
dotnet test nunit.framework.tests.dll --framework:net5.0

- Open the solution in VS2019 and set the test target architecture to x64

- Save all and close VS2019
- Repeat steps 3, 5 and 6 above

- Specify the path to the TestAdapters located here:

- Run the following command
dotnet test nunit.framework.tests.dll /TestAdapterPath:C:\Users\frank\Documents\Professional\Source\nunit-VS2019-2\bin\Release\net5.0 --framework:net5.0

- Open the solution in VS2019 and upgrade to the latest TestAdapter:

- Repeat build step 3 above.
- Check the output has the updated TestAdapter

- Run the following command
dotnet test nunit.framework.tests.dll /TestAdapterPath:C:\Users\frank\Documents\Professional\Source\nunit-VS2019-2\bin\Release\net5.0 --framework:net5.0

nb. I've tried the above steps for the net4.5 build output to the same effect
Commentary
I believe the inability to find / execute the tests using dotnet test may explain why I cannot get unit tests to execute within Visual Studio 2019 (with or without Resharper) on Windows and also JetBrains Rider (on either Windows 10 and Debian Linux) - see attached log output
VS2019 test output log.txt
Related Issues
#3008
#2973
Related Discussions
#3861
Additional Information
I ran the following command from the bin\Release\net5.0 directory, dotnet test nunit.framework.tests.dll --list-tests --framework:net5.0 --diag dotnet_test_log.txt --logger "console;verbosity=detailed"
The following logs were generated:
dotnet_test_log.host.21-06-01_20-09-24_22867_6.txt and dotnet_test_log.txt
Expected: as per the NUnit documentation here, I should be able to run the unit tests from the command line using
dotnet testActual: No tests are ever found
Environment
Dell XPS 15, 32BG ram
Running
clrveroutputs.Net 5.0 SDK has been installed manually
Steps to reproduce
build --target=Test --configuration=Releasedotnet test nunit.framework.tests.dll --framework:net5.0dotnet test nunit.framework.tests.dll /TestAdapterPath:C:\Users\frank\Documents\Professional\Source\nunit-VS2019-2\bin\Release\net5.0 --framework:net5.0dotnet test nunit.framework.tests.dll /TestAdapterPath:C:\Users\frank\Documents\Professional\Source\nunit-VS2019-2\bin\Release\net5.0 --framework:net5.0nb. I've tried the above steps for the net4.5 build output to the same effect
Commentary
I believe the inability to find / execute the tests using
dotnet testmay explain why I cannot get unit tests to execute within Visual Studio 2019 (with or without Resharper) on Windows and also JetBrains Rider (on either Windows 10 and Debian Linux) - see attached log outputVS2019 test output log.txt
Related Issues
#3008
#2973
Related Discussions
#3861
Additional Information
I ran the following command from the bin\Release\net5.0 directory,
dotnet test nunit.framework.tests.dll --list-tests --framework:net5.0 --diag dotnet_test_log.txt --logger "console;verbosity=detailed"The following logs were generated:
dotnet_test_log.host.21-06-01_20-09-24_22867_6.txt and dotnet_test_log.txt