Alxandr / aspnet.xunit

ASP.NET v5+ runner for xUnit.net

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

This runner supports xUnit.net tests for ASP.NET v5+.

Usage

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

{
    "dependencies": {
        "xunit": "2.0.0-*",
        "xunit.runner.aspnet": "2.0.0-*"
    },
    "frameworks": {
        "aspnet50": {
            "frameworkAssemblies": {
                "System.Runtime": ""
            }
        },
        "aspnetcore50": {
            "dependencies": {
                "System.Runtime": "4.0.20-beta-22231"
            }
        }
    },
    "commands": {
        "test": "xunit.runner.aspnet"
    }
}

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

# Restore NuGet packages
kpm restore

# Run tests
k test

About

ASP.NET v5+ runner for xUnit.net


Languages

Language:C# 98.8%Language:Shell 1.2%