What is xUnit.net?
xUnit.net is a unit testing tool for the .NET Framework. Written by the original inventor of NUnit, xUnit.net is the latest technology for unit testing C#, F#, VB.NET and other .NET languages. Works with ReSharper, CodeRush, and TestDriven.NET.
For status updates, follow us on Twitter: @xunit, @jamesnewkirk, @bradwilson
On This Page...
About the ProjectFrequently Asked QuestionsRecent NewsHow Do I...Blog Posts on xUnit.netLinks to Resources
About the Project
xUnit.net is a developer testing framework, built to support Test Driven Development, with a design goal of extreme simplicity and alignment with framework features. It is compatible with .NET Framework 2.0 and later, and offers several runners: console, GUI, MSBuild, and Visual Studio integration via TestDriven.net, CodeRush Test Runner and Resharper. It also offers test project integration for ASP.NET MVC.
Resharper support is provided by the xUnit.net Contrib project. CodeRush Test Runner support is provided by DevExpress.
Frequently Asked Questions
Recent News
How Do I...?
Blog Posts on xUnit.net
| 2011-06-20 | AutoFixture can automatically create test data for your unit tests, and integrates with xUnit.net's [Theory]. (Blog) |
| 2010-09-02 | Johannes Rudolph has started a new project based on the SubSpec sample. (Link) |
| 2010-06-22 | Ivo Manolov announced TestApi 0.5, which uses xUnit.net. (Blog, TestApi) |
| 2009-09-10 | Ben Adderson is back with enhancements to [Browser]. (Link) |
| 2009-09-09 | Ade Miller has an extension for conditional acceptance tests (w/ runtime decision) (Link) |
| 2009-09-01 | Ben Adderson ports Ben Hall's [Browser] theory attribute to Selenium. (Link) |
| 2009-08-21 | XUnit para simples mortales (en español) (Link) |
| 2009-08-13 | Ben Hall has written a [Browser] attribute for xUnit.net theories and WatiN. (Link) |
| 2009-06-27 | Justin Etheredge has an MSDN Magazine article on testable ASP.NET MVC apps with xUnit.net, Ninject, and Moq. (Link) |
| 2009-06-10 | Ade Miller talks about using xUnit.net theories to validate interface implementations. (Link) |
| 2009-06-04 | Peter Mounce has integrated xUnit.net with rake-dotnet. (Link) |
| 2009-05-30 | Mark Needham describes how to run your .NET 4.0 tests using xUnit.net. (Link) |
| 2009-05-27 | Ben Hall is working on a Behavior-style syntax for xUnit.net called "xUnit.GWT". (Blog, Source, Example, Report) |
| 2009-04-20 | Chris Marinos discusses using xUnit.net + F# to write BDD-style tests. (Link) |
| 2009-04-14 | Steven Livingstone-Pérez discussing xUnit.net's integration with TeamCity. (Link) |
| 2009-04-10 | Peli de Halleux announces the release of Pex 0.10, with support for xUnit.net. (Link) |
| 2009-03-22 | Alex Zeitler has a screencast demonstrating xUnit.net & xUnit.net BDD Extensions & Resharper (in German). (Link) |
| 2008-12-15 | Matt Podwysocki integrates xUnit.net with FsCheck for F#. (Link) |
| 2008-12-01 | Ade Miller writes about rounding errors and a margin-of-error comparer he wrote. (Link) |
| 2008-09-19 | Fredrik Kalseth writes about his specification-style BDD work with xUnit.net. (Link) |
| 2008-08-28 | Björn Rochel blogs about his attempts at a BDD framework on top of xUnit.net. (Link) |
| 2008-08-24 | Phil Haack discusses some experiments we did with a specification API ("SubSpec"), available in the samples. (Link) |
| 2008-05-16 | David Tchepak uses xUnit.net to test his game (Part 1, Part 2) |
| 2008-05-14 | Bembeng Arifin on using xunit.console.exe from within Visual Studio 2008 Express (Link) |
| 2008-05-09 | Damon Payne explores concurrent unit testing with xUnit.net (Part 0, Part 1) |
| 2008-05-05 | Torkel Ödegaard on Watin and xUnit.net integration testing (Link) |
| 2008-04-22 | Moq mocking framework now uses xUnit.net for its unit testing (Link) |
| 2008-04-18 | Scott Hanselman's Weekly Source Code reviews xUnit.net's extensibility APIs (Link) |
| 2008-04-04 | Matt Podwysocki looks at our new ASP.NET MVC Preview 2 support (Link) |
| 2008-01-31 | Ben Hall on: xUnit.net, xUnit.net Extensions, Creating Your Own Extensions |
Links to Resources