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. Works with ReSharper, CodeRush, TestDriven.NET and Xamarin. xUnit.net is part of the ASP.NET Open Source Gallery under the Outercurve Foundation. It is licensed under the Apache 2 license, which is approved by the OSI.

Follow on Twitter: @xunit, @jamesnewkirk, @bradwilson, @citizenmatt, @onovotny
Continuous integration builds are available online via TeamCity (sponsored by CenturyLink Cloud).
CodeRush Test Runner support is provided by DevExpress.
The xUnit.net logo was designed by Nathan Young.

Table of Contents

Frequently Asked Questions

Documentation

Migration

Github Projects

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