Page MenuHomePhabricator

Re-implementation of the xUnit.NET wrapper
Needs ReviewPublic

Authored by staticshock on Mar 13 2015, 3:29 PM.
Tags
None
Referenced Files
Unknown Object (File)
Tue, Dec 17, 8:40 PM
Unknown Object (File)
Mon, Dec 16, 8:31 AM
Unknown Object (File)
Sun, Dec 15, 7:00 PM
Unknown Object (File)
Mon, Dec 9, 6:41 PM
Unknown Object (File)
Thu, Dec 5, 12:12 AM
Unknown Object (File)
Tue, Dec 3, 9:19 PM
Unknown Object (File)
Nov 24 2024, 8:59 PM
Unknown Object (File)
Nov 19 2024, 11:56 PM

Details

Reviewers
None
Group Reviewers
Blessed Reviewers
Summary

This is a heavily refactored version of @hach-que's XUnitTestEngine.

  • Supports passing arguments to MSBuild, XBuild, and to xUnit.NET
  • Runs tests on all projects downstream of modified files

Sample .arcconfig:

{
  "unit.engine": "DotNetXUnitUnitTestEngine",
  "unit.dotnet.testprojects": {
    "@([^/]*Tests)\\.csproj$@": "bin/Release/$1.dll"
  },
  "unit.msbuild.args": ["/p:Configuration=Release"],
  "unit.dotnet.xunit.binary": "Libs/xUnit/xunit.console.clr4.x86.exe",
  "unit.dotnet.xunit.args.mono": [
    "/-trait", "Speed=Slow",
    "/-trait", "Environment=SQA"
  ]
}
Test Plan

Ran arc unit on a configured C# solution, saw proper output for
passing tests and for failing tests. Checked it out on Linux, too.

Diff Detail

Repository
rARC Arcanist
Branch
xunit
Lint
Lint Passed
Unit
Tests Passed
Build Status
Buildable 4873
Build 4891: [Placeholder Plan] Wait for 30 Seconds