free for TeamCity Professional and TeamCity Enterprise servers users, closed-source
Adds the ability to run tests using Microsoft VSTest.Console.
Since TeamCity 9.1, the VSTest console runner is bundled and merged with MSTest runner into the Visual Studio Tests runner. To use the new bundled Visual Studio Tests runner, the VSTest build steps will have to be configured manually.
If you choose to continue using the VSTest.Console Runner plugin after upgrade to TeamCity 9.1, no changes are required.
(since TeamCity 8.0)
(since TeamCity 9.0)
(since TeamCity 9.1 EAP1)
VSTest.Console supports custom loggers, i.e. libraries that can handle events that are occurring when tests are being executed. For TeamCity 9.0.x there exists a custom logger that provides real time test reporting.
Logger must be installed manually on agent machine, as it requires dlls to be copied in
Extensions folder of VSTest.Console. Installation of custom logger does not require agent restart.
PROGRAM_FILES\Microsoft Visual Studio 14.0\Common7\IDE\CommonExtensions\Microsoft\TestWindow\Extensions
PROGRAM_FILES\Microsoft Visual Studio 12.0\Common7\IDE\CommonExtensions\Microsoft\TestWindow\Extensions
PROGRAM_FILES\Microsoft Visual Studio 11.0\Common7\IDE\CommonExtensions\Microsoft\TestWindow\Extensions
Check that the custom logger was installed correctly by executing
vstest.console.exe /ListLoggers in the console on agent machine. If the logger was installed correctly, you will see the logger with FriendlyName
Use real-time test reportingoption
The plugin is compatible with TeamCity 8.1 and newer
Since TeamCity 9.1 vstest.console runner has been merged into TeamCity Visual Studio Tests runner. Please use bundled runner
Original issue in the tracker.