8000 Migrate unit tests to XUnit · rlazev/libgit2sharp@3e93489 · GitHub
[go: up one dir, main page]

Skip to content

Commit 3e93489

Browse files
committed
Migrate unit tests to XUnit
1 parent 8da9472 commit 3e93489
  • xUnit
  • LibGit2Sharp.Tests
  • Some content is hidden

    Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

    96 files changed

    +3926
    -18037
    lines changed

    CI-build.msbuild

    Lines changed: 3 additions & 3 deletions
    Original file line numberDiff line numberDiff line change
    @@ -4,9 +4,10 @@
    44
    <RootDir>$(MSBuildProjectDirectory)</RootDir>
    55
    <TestBuildDir>$(RootDir)\LibGit2Sharp.Tests\bin\$(Configuration)</TestBuildDir>
    66
    <DeployFolder>$(RootDir)\Build</DeployFolder>
    7-
    <ManagedExeLauncher Condition="('$(OS)' != 'Windows_NT')">mono </ManagedExeLauncher>
    87
    </PropertyGroup>
    98

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

    3031
    <Target Name="Test" DependsOnTargets="Build">
    31-
    <Exec
    32-
    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" />
    32+
    <xunit Assembly="$(TestBuildDir)/LibGit2Sharp.Tests.dll" Xml="$(DeployFolder)/Test-result.xml" />
    3333
    </Target>
    3434

    3535
    <Target Name="Deploy" DependsOnTargets="Test">

    Lib/NUnit/NUnitFitTests.html

    Lines changed: 0 additions & 277 deletions
    This file was deleted.

    0 commit comments

    Comments
     (0)
    0