xunitcontrib 0.3.1 (version independence)

 Recommended Download



Application xunitcontrib.resharper.zip
application, 192K, uploaded Jul 16  - 1191 downloads

Release Notes

xunitcontrib release 0.3 (ReSharper runner)

Change set #23762

This release provides a test runner plugin for Resharper 4.5 and 4.1, targetting all versions of xUnit.net.

See the xUnit.net project to download xUnit.net itself.

UPDATED 16/07/2009: Small fix to 0.3 to set the current directory to the location of the test assembly, rather than the plugin assembly. No other changes have been made.

There is (as of yet) no installer for the ReSharper plugin.

To install into ReSharper 4.5:
  1. Close all Visual Studio instances
  2. Copy the folder xunitcontrib.runner.resharper.4.5 to C:\Program Files\JetBrains\ReSharper\v4.5\bin\plugins (you might need to create the plugins folder). Alternatively, you can copy the folder to <RoamingAppData>\JetBrains\ReSharper\v4.5\vs9.0\plugins, where vs9.0 is for VS2008 (use vs8.0 for VS2005) and <RoamingAppData> is e.g. C:\Users\matt\AppData\Roaming. This allows for installation where the user doesn't have permissions to write to the Program Files folder
  3. Copy the file resharper.external.annotations\xunit.xml to C:\Program Files\JetBrains\ReSharper\v4.5\bin\External Annotations
  4. Start Visual Studio
  5. Go to ReSharper -> Live Templates and click the "Import" toolbar button
  6. Import either xunit-ae.xml or xunit-xe.xml. The first file gives code snippets beginning with "a" for assert (e.g. ae => Assert.Equal), the second gives code snippets beginning with "x" for xunit (e.g. xe => Assert.Equal). (The "xe" file exists to avoid clashes with other unit testing framework templates). Pick which one you want and import just that file.

To install fror ReSharper 4.1, copy the same instructions above, but replace 4.5 with 4.1 (everywhere!)

This release addresses the following issues:

This release inclues:

  • The ReSharper 4.1 test runner plugin (xunitcontrib.runner.resharper.4.1.dll)
  • The ReSharper 4.5 test runner plugin (xunitcontrib.runner.resharper.4.5.dll)
  • ReSharper External Annotations file (xunit.xml)
  • ReSharper Live Templates file (xunit.livetemplates.xml)
  • A private (unchanged) copy of xunit.dll - please use the CodePlex distribution for project references
 Reviews for this release
No reviews yet for this release.
Updating...
© 2006-2009 Microsoft | About CodePlex | Privacy Statement | Terms of Use | Code of Conduct | Advertise With Us | Version 2009.10.27.15987