This question is similar to - VSTS Test Assemblies - No test assemblies found - which appeared to resolve itself at the time. Unfortunately I'm getting a similar recurrence that I'm not sure how to resolve.
During my Visual Studio Test step, I'm getting the following message....
2017-12-05T18:43:31.9808980Z ##[warning]No test assemblies found matching the pattern: *SA.SEPA.Web.UI.Selenium.dll.
In my VSTS tasks, after I build my solution, I copy an entire project directory to a directory on the virtual machine. This virtual machine is also hosting the build agent.
The path to the test assembly file is here, after the files have been copied....
My test task looks like the following....
The search folder should be correct, as this is the machine with the build agent.
Looking at the minimatch patterns described here - https://docs.microsoft.com/en-us/vsts/build-release/tasks/file-matching-patterns, *SA.SEPA.Web.UI.Selenium.dll
should also match to the SA.SEPA.Web.UI.Selenium.dll
file, possibly without requiring the asterix (?)
The build log is located here - https://gist.github.com/Konnor5092/1feb4536f7dd92218de27df8f3fefc52
Any help would be much appreciated.
Your dll is in a sub directory of c:\build
so the search will need to be recursive:
**\SA.SEPA.Web.UI.Selenium.dll
or change the search folder to c:\build\bin\debug
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With