Created
January 5, 2012 19:03
-
-
Save fraga/1566674 to your computer and use it in GitHub Desktop.
Setting up xUnit in VS as external tool
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Go to Tools -> External Tools -> Add | |
Command: Your xunit.console.exe file path | |
Arguments: $(BinDir)$(TargetName)$(TargetExt) | |
Initial Directory: $(BinDir) | |
Change xunit.console.config so that you have requiredRuntime if you want to run .NET 4.0 | |
<?xml version="1.0" encoding="utf-8" ?> | |
<configuration> | |
<configSections> | |
<section name="xunit" type="Xunit.ConsoleClient.XunitConsoleConfigurationSection, xunit.console"/> | |
</configSections> | |
<xunit> | |
<transforms> | |
<add | |
commandline="html" | |
xslfile="HTML.xslt" | |
description="output results to HTML file"/> | |
<add | |
commandline="nunit" | |
xslfile="NUnitXml.xslt" | |
description="output results to NUnit-style XML file"/> | |
</transforms> | |
</xunit> | |
<startup> | |
<requiredRuntime version="v4.0.20506" safemode="true"/> | |
</startup> | |
</configuration> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment