-
Bug
-
Resolution: Unresolved
-
Major
-
Jenkins 1.639
Installed plugins:
•VSTest Runner plugin :1.0.4
Operating system: Windows 7 64-bit OS
Web browser: Chrome
1) Built the solution with MSbuild: Solution gets built successfully
2) Next build step uses vstest.console to run tests with below data:
vstestversion: vstest.console.exe
Test files: <c:**********.dll>
Test name: <test script>
selected Use Vsix Extensions checkbox
Platform: None
.NET Framework Version: NET Framework 4.0
Specify a logger for test results: Other
/logger:TfsPublisher;Collection="https://**";TeamProject=xxxx;BuildName="xxx";Platform="Any CPU";Flavor="Release"
Solution builds successfully but test execution doesn't start. Console output shows:
Error: Could not find a test logger with URI or FriendlyName
Build step 'Run unit tests with VSTest.console' marked build as failure
The same command when executed from command line launches the tests successfully, publishes the results to MTM and prints out an URL for accessing the results