Runner , current version of xUnit?

Topics: ReSharper test runner
Mar 29, 2011 at 11:56 AM

HI there


I m sure this is here somewhere but I can't really find it.

I want to run xUnit 1.8, however I know there is a version of xUnit.dll in the test runner, which dll is actually used to run the test? the one in the runner or the linked to my application?


Mar 30, 2011 at 10:27 AM

I ran this 

[Fact] public void Correct_xunit_version() { Assert.Contains("", Assembly.GetCallingAssembly().FullName); } and it passed


so i m guessing it uses the xunit version in the contrib just to discover the tests

Mar 30, 2011 at 12:21 PM

Yep. Absolutely right. The resharper plugin requires a copy of xunit.dll just for the discovery of tests. It uses your local copy of xunit.dll to actually run the tests.

Mar 30, 2011 at 4:33 PM
You could use ILMERGE to get rid of the xunit.dll dependency, since it's confusing to end users. :)