XUnit.net Runners not working on Visual Studio Online build server

I am trying to get xUnit 2.0.0-rc3-build1043 to work with the VSO build agent, but cannot make it work. He does not interrupt, but returns with a message

No test found. Make sure that the testers and performers installed, the platform and platform settings, and try again.

I added nuget packages for xUnit.net and xUnit.net [Visual Studio Runner] with dependent packages, but for some reason it seems that the runners were not detected by the VSO build agent.

I also tried to follow the steps described here in a post Using XUnit with Visual Studio Online (changed for xUnit 2.x), but it doesn’t work, so I'm a bit stuck.

I tested both MSTest and nUnit, and both of them work, so the build definition and agent work as they should.

So, does anyone know how to configure this to work?

+6
source share
1 answer

I had the same problem. I completed the documentation for Visual Studio Online documentation: https://www.visualstudio.com/get-started/build/run-tests-with-builds-vs

This worked for me :-)

0
source

Source: https://habr.com/ru/post/983335/


All Articles