Audience
Unit Testing solution for developers
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.
Other Popular Alternatives & Related Software
SpecFlow
SpecFlow makes test automation easier by turning it into a team effort and allowing every role to better use their skills. Don’t waste your time searching for the correct definition across your binding classes, just right-click and jump to the relevant code. Hooks (event bindings) can be used to perform additional automation logic at specific times, such as any setup required prior to executing a scenario. SpecFlow supports a dependency injection framework that is able to instantiate and inject context for scenarios. This allows you to group the shared state in context classes, and inject them into every binding class that needs access to that shared state.
Learn more about SpecFlow
dotCover
dotCover is a .NET unit testing and code coverage tool that works right in Visual Studio and in JetBrains Rider, helps you know to what extent your code is covered with unit tests, provides great ways to visualize code coverage, and is Continuous Integration ready. dotCover calculates and reports statement-level code coverage in applications targeting .NET Framework, .NET Core, Mono for Unity, etc. dotCover is a plug-in to Visual Studio and JetBrains Rider, giving you the advantage of analyzing and visualizing code coverage without leaving the code editor. This includes running unit tests and analyzing coverage results right in the IDEs, as well as support for different color themes, new icons and menus. dotCover comes bundled with a unit test runner that it shares with another JetBrains tool for .NET developers, ReSharper. dotCover supports continuous testing, a modern unit testing workflow whereby dotCover figures out on-the-fly which unit tests are affected by your code changes.
Learn more about dotCover
CodeRush
Try your first CodeRush feature right now and see instantly just how powerful it is. Refactoring for C#, Visual Basic, and XAML, with the fastest test .NET runner available, next generation debugging, and the most efficient coding experience on the planet. Quickly find symbols and files in your solution and easily navigate to code constructions related to the current context. CodeRush includes the Quick Navigation and Quick File Navigation features, which make it fast and easy to find symbols and open files. Using the Analyze Code Coverage feature, you can discover what parts of your solution are covered by unit tests, and find the at-risk parts of your application. The Code Coverage window shows percentage of statements covered by unit tests for each namespace, type, and member in your solution.
Learn more about CodeRush
PHPUnit
PHPUnit requires the dom and json extensions, which are normally enabled by default. PHPUnit also requires the pcre, reflection, and spl extensions. These standard extensions are enabled by default and cannot be disabled without patching PHP’s build system and/or C sources. The code coverage report feature requires the Xdebug (2.7.0 or later) and tokenizer extensions. Generating XML reports requires the xmlwriter extension. Unit Tests are primarily written as a good practice to help developers identify and fix bugs, to refactor code and to serve as documentation for a unit of software under test. To achieve these benefits, unit tests ideally should cover all the possible paths in a program. One unit test usually covers one specific path in one function or method. However a test method is not necessarily an encapsulated, independent entity. Often there are implicit dependencies between test methods, hidden in the implementation scenario of a test.
Learn more about PHPUnit
Pricing
Starting Price:
Free
Free Version:
Free Version available.
Integrations
Company Information
xUnit.net
xunit.net
Other Useful Business Software
Train ML Models With SQL You Already Know
Build and deploy ML models using familiar SQL. Automate data prep with built-in Gemini. Query 1 TB and store 10 GB free monthly.
Product Details
Platforms Supported
Windows
Mac
Linux
Training
Documentation
Support
Online
xUnit.net Frequently Asked Questions
Q: What kinds of users and organization types does xUnit.net work with?
xUnit.net works with these users and organization types: Mid Size Business, Small Business, Enterprise, Freelance, Nonprofit, Government, and Startup.
Q: What languages does xUnit.net support in their product?
xUnit.net supports these languages: English.
Q: What kind of support options does xUnit.net offer?
xUnit.net offers support via online.
Q: What other applications or services does xUnit.net integrate with?
xUnit.net integrates with: C#, CodeRush, dotCover, dotTrace, .NET, NCrunch, NetcoreSaaS, ReSharper, TeamCity, and Testmo.
Q: What type of training does xUnit.net provide?
xUnit.net provides training in the form of documentation.
Q: How much does xUnit.net cost?
Pricing for xUnit.net starts at Free.