ModulusChecker icon indicating copy to clipboard operation
ModulusChecker copied to clipboard

Tests don't work in VS 16.8.4?

Open wizofaus opened this issue 4 years ago • 1 comments

Microsoft Visual Studio Professional 2019 Version 16.8.4

Many of the tests (particularly CanPassCurrentVocalinkTestCases) don't show in the Test explorer and trying to run any test produces:

---------- Starting test discovery ---------- Test project PublicInterfaceTests does not reference any .NET NuGet adapter. Test discovery or execution might not work for this project. It's recommended to reference NuGet test adapters in each test project in the solution. Test project ModulusCheckingTests does not reference any .NET NuGet adapter. Test discovery or execution might not work for this project. It's recommended to reference NuGet test adapters in each test project in the solution. No test is available in C:\Users\dylan.nicholson\source\repos\github\pauldambra\ModulusChecker\ModulusChecking\bin\Release\ModulusChecker.dll C:\Users\dylan.nicholson\source\repos\github\pauldambra\ModulusChecker\PublicInterfaceTests\bin\Release\PublicInterfaceTests.dll C:\Users\dylan.nicholson\source\repos\github\pauldambra\ModulusChecker\ModulusCheckingTests\bin\Release\ModulusCheckerTests.dll. Make sure that test discoverer & executors are registered and platform & framework version settings are appropriate and try again. ========== Test discovery finished: 0 Tests found in 3.1 sec ========== ---------- Starting test run ---------- No test is available in C:\Users\dylan.nicholson\source\repos\github\pauldambra\ModulusChecker\ModulusCheckingTests\bin\Release\ModulusCheckerTests.dll. Make sure that test discoverer & executors are registered and platform & framework version settings are appropriate and try again. ========== Test run finished: 0 Tests run in 8.5 sec (0 Passed, 0 Failed, 0 Skipped) ==========

wizofaus avatar Feb 08 '21 23:02 wizofaus

Weirdly the "Debug" configuration in the SLN points to Release versions too. Anyway, after fixing this and re-installing the latest NUnit adapter extension the tests seem to work OK.

Unrelated question though - how often do you update the valacdos.txt file (how often do new sortcodes get defined with new modulus rules?). I note the readme.md file refers to https://www.vocalink.com/customer-support/modulus-checking/ at the end, but this doesn't work anymore...it seems the new address is

https://www.vocalink.com/tools/modulus-checking/ which refers to https://www.vocalink.com/media/4889/valacdos.txt

wizofaus avatar Feb 08 '21 23:02 wizofaus