Unable to Run Visual Studio Unit Tests with TeamCity

I have configured TeamCity with 'Visual Studio Test' build step as shown.

 

However, the VS test keeps on failing, but its difficult (at least for me) to see from the build log why its failing, see below:

 

Apart from the 'VSTest report watcher (in red) there isn't anything to indicate why the VStest isn't working.

 

Can someone shed some light on this please.

The build was created using the example from the following link:

 

https://docs.microsoft.com/en-us/visualstudio/test/walkthrough-creating-and-running-unit-tests-for-managed-code

 

The Visual Studio configuration looks as follows:

 

Any guidance / tips will be greatly appreciated.

Cheers

 

Carlton

0
1 comment
Avatar
Nikolay Pianikov
Official comment

Hi

Looks like vstest engine cannot find any tests. Is it possible to share this solution?

Please sign in to leave a comment.