DevOps is not currently supported here on QnA. They're actively answering questions in dedicated forums here.
https://developercommunity.visualstudio.com/
Executing on demand test cases from azure test plan giving error;Number of test discovered: 0
Abir Pramanik
21
Reputation points
Getting the below error without Nunit3testAdapter:
2020-07-24T06:46:03.0938450Z ##[error]ExecutionAndPublish.Run : Microsoft.VisualStudio.TestService.VstestAdapter.TestsNotFoundException: No test assemblies found on the test machine matching the source filter criteria or no tests discovered matching test filter criteria. Verify that test assemblies are present on the machine and test filter criteria is correct.
Attached log: 13622-4-vstest-testrunwithout-nunit3adapter.txt
Getting the below error with Nunit3testAdapter:
[error]DiscoveryMessage : An exception occurred while test discoverer 'NUnit3TestDiscoverer' was loading tests. Exception: Could not load file or assembly 'nunit.engine, Version=3.10.0.0, Culture=neutral, PublicKeyToken=2638cd05610744eb' or one of its dependencies. The system cannot find the file specified.
Accepted answer
-
MayankBargali-MSFT 70,826 Reputation points
2020-07-24T07:36:49.69+00:00