Skip to content

niyouzhu/aspnet-aspnet.xunit

 
 

Repository files navigation

This runner supports xUnit.net tests for DNX 4.5.1+, and DNX Core 5+ (this includes ASP.NET 5+).

Usage

To install this package, ensure your project.json contains the following lines:

{
    "dependencies": {
        "xunit.runner.aspnet": "2.0.0-aspnet-*"
    },
    "commands": {
        "test": "xunit.runner.aspnet"
    }
}

To run tests from the command line, use the following.

# Restore NuGet packages
dnu restore

# Run tests in current directory
dnx test

# Run tests if tests are not in the current directory
dnx -p path/to/project test

More Information

For more complete example usage, please see Getting Started with xUnit.net and DNX / ASP.NET 5.

About

ASP.NET v5+ runner for xUnit.net

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • C# 96.5%
  • PowerShell 1.9%
  • Shell 1.3%
  • Batchfile 0.3%