Nunit from console
I am trying to run Nunit project form console
here is the XML I created
<?xml version="1.0" encoding="utf-8"?>
<CoverageParams>
<Executable>
C:\Program Files (x86)\NUnit 2.4.3\bin\nunit-console.exe
</Executable>
<Arguments>test.nunit</Arguments>
<WorkingDir>c:\temp</WorkingDir>
<Output>output1.xml</Output>
<Filters>
<IncludeFilters>
<FilterEntry>
<ModuleMask>*</ModuleMask>
<ClassMask>*</ClassMask>
<FunctionMask>*</FunctionMask>
</FilterEntry>
</IncludeFilters>
<ExcludeFilters>
</ExcludeFilters>
</Filters>
</CoverageParams>
It is throwing an error
"Executable file dosnt exist"
Thanks in advance for any suggestions.
Please sign in to leave a comment.
Hello Ajit,
Thanks for reporting this.
There was a problem with line breaks in xml-configuration file.
You just need to change your configuration as follows:
<Executable>C:\Program Files (x86)\NUnit 2.4.3\bin\nunit-console.exe</Executable>
The fix will be published in dotCover 1.0.1 nightly builds:
http://confluence.jetbrains.net/display/DCVR/dotCover+1.0.1+Nightly+Builds