jslatts / team-city-xunit-meta-runner

A Team City Meta Runner plugin to allow xUnit tests to be easily run

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Team City xUnit Meta Runner

Build status

Easily run xUnit tests using Team City.

This Team City plugin adds an extra option when creating a Build Step in Team City 'xUnit'. This is currently quite simple and only allows the selection of one DLL containing xUnit tests to be run. Wildcards and multiple assemblies are not supported (as this is not supported by the xUnit console runner).

The plugin will copy a version of the xUnit runner to all build agents to allow tests to be run without any additional configuration. The plugin is currently using the 2.0.0-beta-build2650 version of the xUnit console runner.

The plugin has been tested on Team City 8.0.3, but should work with any version of Team City 8.

Installation

  1. Download 'xunit-build-runner.zip' from the latest release
  2. Copy this file into the [Team City Data Directory]\plugins directory on the Team City Server, by default this is C:\ProgramData\JetBrains\TeamCity\plugins
  3. Restart the Team City server

The xUnit build step type should now be available.

Building the plugin

To build the plugin from code, use MSBuild to run package.msbuild, this will create the xunit-build-runner.zip file. The MSBuild Community Tasks must be installed to run this.

About

A Team City Meta Runner plugin to allow xUnit tests to be easily run

License:GNU General Public License v2.0


Languages

Language:XSLT 100.0%