Executing on demand test cases from azure test plan giving error;Number of test discovered: 0

Abir Pramanik 21 Reputation points
2020-07-24T07:15:06.63+00:00

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.

13430-4-vstest-testrun.txt

Not Monitored
Not Monitored
Tag not monitored by Microsoft.
37,327 questions
0 comments No comments
{count} votes

0 additional answers

Sort by: Most helpful