5

Home > xUnit.net

 3 years ago
source link: https://xunit.net/
Go to the source link to view the article. You can view the picture content, updated content and better typesetting reading experience. If the link is broken, please click the button below to view the snapshot at that time.

About xUnit.net

xUnit.net is a free, open source, community-focused unit testing tool for the .NET Framework. Written by the original inventor of NUnit v2, xUnit.net is the latest technology for unit testing C#, F#, VB.NET and other .NET languages. xUnit.net works with ReSharper, CodeRush, TestDriven.NET and Xamarin. It is part of the .NET Foundation, and operates under their code of conduct. It is licensed under Apache 2 (an OSI approved license).

Follow on Twitter: @xunit, @jamesnewkirk, @bradwilson, @clairernovotny
Discussions are held on our discussions site.
Resharper support is provided and supported by JetBrains.
CodeRush support is provided and supported by DevExpress.
NCrunch support is provided and supported by Remco Software.
The xUnit.net logo was designed by Nathan Young.

Table of Contents

Packages and Builds

Stable package Latest CI package Latest CI build v2 core framework N/A N/A xunit.analyzers xunit.runner.devices xunit.runner.visualstudio

Documentation

Getting Started

New to xUnit.net? These guides will help you get started.

  • .NET Core – cross-platform applications, including ASP.NET Core
  • .NET Framework – desktop & server applications, including ASP.NET
  • Universal Windows Apps (UWP) – Windows 10 applications
  • Xamarin – Android and iOS applications
  • Miscellaneous Topics

Configuration

Unit Test Parallelism

Other Topics

Frequently Asked Questions

Migration

Release Notes

Test Runner Compatibility

xUnit.net xunit.console MSBuild TestDriven.NET Visual Studio 2 Devices Desktop Class Library 1.9.2+ 3a 3a 3a 3b (2012+)   .NET Core
(Windows, Linux, OS X) 2.2+       3b (2017+)   Universal Windows Platform 2.1+       3b (2015+) 3c Xamarin MonoAndroid 1 2.0+         3c Xamarin iOS Unified 1 2.0+         3c ↓ The project types below have been officially deprecated ↓ Universal Application
(Windows 8.1, Windows Phone 8.1) 2.0 - 2.1       3b (2013+) 3c Windows Phone 8 (Silverlight) 2.0 - 2.1         3c Xamarin MonoTouch (iOS Classic) 1 2.0 - 2.1         3c

Requires Xamarin for Visual Studio or Xamarin Studio. Visual Studio support includes the Visual Studio Test Explorer, Visual Studio Code, vstest.console.exe,
and dotnet test. Express editions of Visual Studio are not supported. Test runner source code availability:
a. https://github.com/xunit/xunit
b. https://github.com/xunit/visualstudio.xunit
c. https://github.com/xunit/devices.xunit

Github Projects

For information on contributing to xUnit.net, please read the governance document.

Links to Resources

Additional copyrights

Portions copyright The Legion Of The Bouncy Castle

Copyright © 2020 .NET Foundation. Contributions welcomed at https://github.com/xunit/xunit/tree/gh-pages.


About Joyk


Aggregate valuable and interesting links.
Joyk means Joy of geeK