49 строки
4.3 KiB
Markdown
49 строки
4.3 KiB
Markdown
## <a href="https://github.com/xunit/xunit"><img src="https://raw.github.com/xunit/media/master/full-logo.png" title="xUnit.net" /></a>
|
|
|
|
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, and TestDriven.NET. xUnit.net is part of the [ASP.NET Open Source Gallery](http://www.outercurve.org/Galleries/ASPNETOpenSourceGallery) under the [Outercurve Foundation](http://www.outercurve.org/). It is licensed under the [Apache 2 license](http://opensource.org/licenses/Apache-2.0), which is approved by the OSI.
|
|
|
|
Continuous integration builds are available online via [TeamCity](http://teamcity.tier3.com/guestLogin.html?guest=1).
|
|
|
|
_For status updates, follow us on Twitter: [@xunit](http://twitter.com/xunit), [@jamesnewkirk](http://twitter.com/jamesnewkirk), [@bradwilson](http://twitter.com/bradwilson)_
|
|
|
|
_For information on contributing to xUnit.net, see [xUnit.net Governance](https://xunit.codeplex.com/wikipage?title=xUnit.net%20Governance)._
|
|
|
|
_Resharper support is provided by the [xUnit.net Contrib project](http://xunitcontrib.codeplex.com/)._<br>
|
|
_CodeRush Test Runner support is provided by [DevExpress](http://www.devexpress.com/)._<br>
|
|
_The xUnit.net logo was designed by [Nathan Young](http://flavors.me/nathanyoung)._<br>
|
|
_The TeamCity server is sponsored by [Tier 3](http://www.centurylinkcloud.com/)._
|
|
|
|
## Frequently Asked Questions
|
|
|
|
* [Why did we build xUnit.net?](http://xunit.codeplex.com/wikipage?title=WhyDidWeBuildXunit)
|
|
* [How does xUnit.net compare to other .NET testing frameworks?](http://xunit.codeplex.com/wikipage?title=Comparisons)
|
|
* [Why does Resharper say "Failed: Could not create ITestClassCommand..." when I try to run tests?](http://xunit.codeplex.com/wikipage?title=FaqResharper)
|
|
* [Why can't I read the help file? It says "Navigation to the web page was cancelled"](http://xunit.codeplex.com/wikipage?title=FaqHelpDownload)
|
|
* [Why can I only run single tests in TestDriven.net? I can't seem to run classes or files.](http://xunit.codeplex.com/wikipage?title=FaqTestDrivenNet)
|
|
* [Why is the test count too high when running tests?](http://xunit.codeplex.com/wikipage?title=FaqTestCount)
|
|
|
|
## How Do I...?
|
|
|
|
* [How do I install xUnit.net?](http://xunit.codeplex.com/wikipage?title=HowToInstall)
|
|
* [How do I use xUnit.net?](http://xunit.codeplex.com/wikipage?title=HowToUse)
|
|
* [How do I view the help file?](http://xunit.codeplex.com/wikipage?title=HowToViewHelp)
|
|
* [How do I run tests from MSBuild?](http://xunit.codeplex.com/wikipage?title=HowToUseMSBuild)
|
|
* [How do I run tests in Visual Studio 2012 with the built-in Test Explorer?](http://xunit.codeplex.com/wikipage?title=HowToUseVs2012)
|
|
* [How do I run tests in Visual Studio with TestDriven .NET?](http://xunit.codeplex.com/wikipage?title=HowToUseTdNet)
|
|
* [How do I run tests in Visual Studio with Resharper?](http://xunit.codeplex.com/wikipage?title=HowToUseResharper)
|
|
* [How do I get test results in TeamCity?](http://xunit.codeplex.com/wikipage?title=HowToUseTeamCity)
|
|
* [How do I get test results in CruiseControl.net?](http://xunit.codeplex.com/wikipage?title=HowToUseCcNet)
|
|
* [How do I get the source and compile xUnit.net?](http://xunit.codeplex.com/wikipage?title=HowToCompile)
|
|
* [How do I customize Visual Studio with xUnit.net snippets?](http://xunit.codeplex.com/wikipage?title=VsSnippets)
|
|
* [What does the XML that xUnit.net generates look like?](http://xunit.codeplex.com/wikipage?title=XmlFormat)
|
|
|
|
## Links to Resources
|
|
|
|
* .NET Framework 2.0 Redistributable ([x86](http://www.microsoft.com/downloads/details.aspx?FamilyID=0856EACB-4362-4B0D-8EDD-AAB15C5E04F5&displaylang=en), [x64](http://www.microsoft.com/downloads/details.aspx?familyid=B44A0000-ACF8-4FA1-AFFB-40E78D788B00&displaylang=en))
|
|
* [TestDriven.NET](http://www.testdriven.net/)
|
|
* [Resharper](http://www.jetbrains.com/resharper/)
|
|
* [TeamCity](http://www.jetbrains.com/teamcity/index.html)
|
|
* [CruiseControl .NET](http://confluence.public.thoughtworks.org/display/CCNET)
|
|
* [MSBuild Reference](http://msdn.microsoft.com/en-us/library/0k6kkbsd.aspx)
|
|
|
|
<a href="http://www.NDepend.com"><img src="https://raw.github.com/xunit/media/master/powered-by-ndepend.png" title="Powered by NDepend" /></a> |