Skip to content
This repository has been archived by the owner on Nov 12, 2019. It is now read-only.

dotnet/coreclr.xunit

master
Switch branches/tags

Name already in use

A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
 
 
 
 
 
 
 
 
 
 
 
 
 
 

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

Usage

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.

# Restore NuGet packages
dotnet restore

# Run tests in current directory
dotnet test

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

More Information

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

About

xUnit.net runner for CoreCLR unit test projects

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published