Skip to content

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

License

Notifications You must be signed in to change notification settings

rhysgodfrey/team-city-xunit-meta-runner

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Team City xUnit Meta Runner

Project Status: Unsupported - The project has reached a stable, usable state but the author(s) have ceased all work on it. A new maintainer may be desired. Build status

NOTE - This project is now unsupported. The current build is still available for use, and feel free to fork this code base. There is an alternative plugin that is part of the Team City Meta Runner Power Pack, and Scott Mackay has an example in this blog post. With xUnit becoming more central in .NET core I'd expect better support to come into a future version of TeamCity.

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

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

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages