This plugin for ReSharper adds support for xUnit.net tests. It supports the following:
[Fact]
and [Theory]
based tests from source code, or compiled assemblies (e.g. F# projects can run tests, although tests aren't found in the source editor)Previously hosted on CodePlex as the xunitcontrib project.
The plugin can be installed from ReSharper's Extension Manager.
Both xUnit.net 1.x and 2.0 are fully supported when running tests, however, the 2.0 support has the following limitations in the editor:
[Fact]
or other attributes that derive from FactAttribute
(this includes [Theory]
). Custom test discovery is not yet supported.[Theory]
is in the wrong namespace.[MemberData]
has not yet been implemented. xUnit.net 1.x's [PropertyData]
is still supported.See Pull Request #1 for progress on full support.
See contributing.md for more details.
This project is licensed as Apache 2.0. It was relicensed from Ms-PL on 02/05/2014. Previously licensed code is still available at commit b7aa82ad014b089da931a6ab5eb3017a43b5846d and earlier, and with the previous project page on CodePlex.