Skip to content

Commit

Permalink
Migrate unit tests to XUnit
Browse files Browse the repository at this point in the history
  • Loading branch information
nulltoken committed Feb 28, 2012
1 parent 8da9472 commit 3e93489
Show file tree
Hide file tree
Showing 96 changed files with 3,926 additions and 18,037 deletions.
6 changes: 3 additions & 3 deletions CI-build.msbuild
Expand Up @@ -4,9 +4,10 @@
<RootDir>$(MSBuildProjectDirectory)</RootDir>
<TestBuildDir>$(RootDir)\LibGit2Sharp.Tests\bin\$(Configuration)</TestBuildDir>
<DeployFolder>$(RootDir)\Build</DeployFolder>
<ManagedExeLauncher Condition="('$(OS)' != 'Windows_NT')">mono </ManagedExeLauncher>
</PropertyGroup>

<UsingTask AssemblyFile="$(MSBuildProjectDirectory)/Lib/xUnit/xunit.runner.msbuild.dll"
TaskName="Xunit.Runner.MSBuild.xunit" />
<Target Name="Clean">
<!-- Workaround for xbuild -->
<Exec Condition=" ('$(OS)' != 'Windows_NT') " Command=" rm -r -f $(DeployFolder) " />
Expand All @@ -28,8 +29,7 @@
</Target>

<Target Name="Test" DependsOnTargets="Build">
<Exec
Command="$(ManagedExeLauncher) &quot;$(MSBuildProjectDirectory)/Lib/NUnit/nunit-console-x86.exe&quot; &quot;$(TestBuildDir)/LibGit2Sharp.Tests.dll&quot; -xml=&quot;$(DeployFolder)/Test-result.xml&quot; -nologo" />
<xunit Assembly="$(TestBuildDir)/LibGit2Sharp.Tests.dll" Xml="$(DeployFolder)/Test-result.xml" />
</Target>

<Target Name="Deploy" DependsOnTargets="Test">
Expand Down
277 changes: 0 additions & 277 deletions Lib/NUnit/NUnitFitTests.html

This file was deleted.

0 comments on commit 3e93489

Please sign in to comment.