I am trying to use Gallio (v3.1) / MbUnit / NCover to run unit test in my C # code as part of the build process for my continuous integration system.
I can get Gallio.Echo.exe to run the tests and output the XML file (although it seems to check all the DLL files in the == folder about 6.5MB.xml file!), But when I try to connect NCover to the connection as well, and it is coming.
THEN: I tried using the NAnt task using the instructions here , for example:
<gallio result-property="testrunner.exit-code"
application-base-directory="bin/debug"
runner-type="NCover"
failonerror="false"
report-name-format="gallio-MyTestProject"
report-types="xml"
report-directory="bin/debug">
<runner-property value="NCoverArguments='//q //ea CoverageExcludeAttribute //a MyTestProject.dll'" />
<runner-property value="NCoverCoverageFile='coverage-MyTestProject.xml'" />
<assemblies>
<include name="bin/debug" />
</assemblies>
</gallio>
but I get the following error on my command line:
Element Required! There must be a least one 'files' element for <gallio ... />.
I tried to specify a DLL file that I would like to check, but it still meets this message. Any suggestions are most appreciated!