Reputation: 37
I made some researches but still didn't figured out this problem.
So, I made an NUnit test project, selenium with c#.
Tried to add in AzureDevops pipeline.
here is the configuration in azure
I'm getting the following error -
I Tried to change those parameters. but didn't get any other result/error.
Upvotes: 1
Views: 959
Reputation: 1
When you run the test task initially it will fail. But when you see the error you can get the path of the dll files in working directory/in agent. Add that path in your task and re-run
Upvotes: 0
Reputation: 354
The pipeline configuration is expecting the tests in the dll with the format **\testhost.*test*.dll
. But your solution does not have any projects matching that convention.
Either you need to update the pipeline configuration to match the dll's in your project or have your tests in a different project. But you will still need to update the dll pattern as I am not sure what 'testhost' is in that?
Upvotes: 3
Reputation: 114461
Be sure to add the NUnit Test Adapter nuget to your project containing the tests.
See also:
Upvotes: 0