VSTest 2015

I'm trying to setup TC 9.1.7 on a server and I'm encountering an issue when trying to add a Testing step.

     Runner Type: Visual Studio Tests

     Test engine type: VSTest

     Test engine version: VSTest 2015

     Test file names: C2.Tests\bin\Debug\C2.Tests.dll

     Target platform: x86

When I added this Step, I was prompted to add a Config parameter:

     Name: teamcity.dotnet.vstest.14.0

     Value: C:\Program Files (x86)\MSBuild\14.0\Bin\MSBuild.exe

When I run all my steps I get an error in the Unit Testing step:

[14:23:17][Step 3/3] VSTest report watcher
[14:23:17][VSTest report watcher] No reports found for paths:
[14:23:17][VSTest report watcher] C:\BuildAgent\work\d28aa71801c772cb\TestResults\*.trx
[14:23:17][Step 3/3] Step Unit Testing (Visual Studio Tests) failed

I've had to do several things differently on this setup (on server) then when I was testing locally on my machine.  I'm not sure where to look to correct this issue.  Please advise.

 

 

1 comment

Hello Jeff,

Could you please try to run the same build via command line on agent machine (not using TeamCity)? Please follow the guidelines

If the build succeeds from the console but still fails in TeamCity, please attach logs requested in the linked documentation section.

Thank you!

0

Please sign in to leave a comment.