Created
April 20, 2016 05:02
Example of calling nunit3 from nant and exporting an nunit2 test results file.
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
<target name="test" depends="compile"> | |
<copy file="src/ApplicationUnitTests/bin/${build.configuration}/App.config" tofile="src/Application.config" /> | |
<exec program="nunit3-console.exe"> | |
<arg value="src/Application.nunit" /> | |
<arg value="--config:Release" /> | |
<arg value="--result=TestResult.xml;format=nunit2" /> | |
</exec> | |
<delete file="src/Application.config" /> | |
</target> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment