Skip to content

abclassic/Xunit

Repository files navigation

Custom xUnit fork.

This is a custom fork that fixes a probable bug in xUnit when a single test is run, in this case there is no way wrap the ITypeInfo and thus the IMethodInfo of the method that is the test. Thus when the executor enumerates all tests it checks if each method is in a list, but as these are not necessarily the same IMethodInfo instances, i.e. the list in particular contains an xUnit ReflectionMethodInfo which is never equal to any other IMethodInfo implementation. This means that the test won't run (or some fallback mechanisme is triggered bypassing RunWith etc.).

Below follows the xUnit README.

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, 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 under the Outercurve Foundation. It is licensed under the Apache 2 license, which is approved by the OSI.

For status updates, follow us on Twitter: @xunit, @jamesnewkirk, @bradwilson

For information on contributing to xUnit.net, see xUnit.net Governance.

Resharper support is provided by the xUnit.net Contrib project.
CodeRush Test Runner support is provided by DevExpress.
The xUnit.net logo was designed by Nathan Young.

Frequently Asked Questions

How Do I...?

Links to Resources

Powered by NDepend

About

Xunit fork which fixes bugs

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors