Skip to content

Instantly share code, notes, and snippets.

@dealproc
Created June 17, 2015 08:42
Show Gist options
  • Save dealproc/2b5d5dc3d0597a2ab1ca to your computer and use it in GitHub Desktop.
Save dealproc/2b5d5dc3d0597a2ab1ca to your computer and use it in GitHub Desktop.
xUnit run file
<?xml version="1.0" encoding="utf-8"?>
<Project DefaultTargets="Test"
xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
<UsingTask AssemblyFile="$(SolutionDir)packages\xunit.runner.msbuild.2.0.0\build\portable-net45+win+wpa81+wp80+monotouch+monoandroid+Xamarin.iOS\xunit.runner.msbuild.dll"
TaskName="Xunit.Runner.MSBuild.xunit" />
<ItemGroup>
<TestAssemblies Include="**/*.Tests.dll;**/*.IntegrationTests.dll" Exclude="**/obj/**;**/*IntegrationTests*;" />
</ItemGroup>
<Target Name="Test">
<xunit Assemblies="@(TestAssemblies)" TeamCity="true" />
</Target>
</Project>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment