Name: coreclr.xunit
Owner: .NET Foundation
Description: xUnit.net runner for CoreCLR unit test projects
Created: 2015-12-10 01:45:00.0
Updated: 2018-01-22 18:46:38.0
Pushed: 2016-11-07 15:39:42.0
Homepage: null
Size: 135
Language: C#
GitHub Committers
User | Most Recent Commit | # Commits |
---|
Other Committers
User | Most Recent Commit | # Commits |
---|
This runner supports xUnit.net tests for dotnet 4.5.1+, and dotnet Core 5+ (this includes ASP.NET 5+).
To install this package, ensure your project.json contains the following lines:
"dependencies": {
"xunit": "2.1.0-*",
"dotnet-test-xunit": "2.1.0-*"
},
"testRunner": "dotnet-test-xunit"
To run tests from the command line, use the following.
store NuGet packages
et restore
n tests in current directory
et test
n tests if tests are not in the current directory
et -p path/to/project test // not yet implemented
For more complete example usage, please see Getting Started with xUnit.net and CoreCLR / ASP.NET 5.