# dotnet-test-xunit **Repository Path**: mirrors_DevExpress/dotnet-test-xunit ## Basic Information - **Project Name**: dotnet-test-xunit - **Description**: xUnit.net runner for the .NET CLI (please open issues in https://github.com/xunit/xunit/issues) - **Primary Language**: Unknown - **License**: Apache-2.0 - **Default Branch**: master - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 0 - **Forks**: 0 - **Created**: 2020-09-24 - **Last Updated**: 2026-03-15 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README ## This runner supports [xUnit.net](https://github.com/xunit/xunit) tests for [.NET 4.5.1+, and .NET Core 1.0+](https://github.com/dotnet/corefx) (this includes [ASP.NET Core 1.0+](https://github.com/aspnet)). ### Usage To install this package, ensure your project.json contains the following lines: ```JSON { "dependencies": { "xunit": "2.1.0", "dotnet-test-xunit": "1.0.0-*" }, "testRunner": "xunit" } ``` To use [xUnit configration](http://xunit.github.io/docs/configuring-with-json.html), make sure to add `buildOptions` to your project.json: ```JSON "buildOptions": { "copyToOutput": { "include": [ "xunit.runner.json" ] } } ``` To run tests from the command line, use the following. ```Shell # 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 .NET Core / ASP.NET Core](http://xunit.github.io/docs/getting-started-dotnet-core.html).