Hi all,

 

When I run the following target I get: Invalid element <nunit2report>. Unknown task or datatype.

 

      <target name="runUnitTests" description="Runs unit tests on specified dlls">

            <nunit2 failonerror="false" verbose="true">

                  <formatter outputdir="${nant.project.basedir}" usefile="true" type="Xml" extension=".xml"/>

                  <test assemblyname="${compile.dir}\vor.tests.dll" appconfig="${compile.dir}\vor.tests.dll.config" />

        </nunit2>

          <nunit2report out="${nant.project.basedir}\Report.html">

                  <fileset>

                        <includes name="${nant.project.basedir}\vor.tests.dll-results.xml" />

                  </fileset>

         </nunit2report>

      </target>

 

If I use the <nunitreport> tag I get an empty report.

 

Has anyone any ideas why this is happening??


Thanks


Paul

 

 


_____________________________________________________________________
VirusChecked for the Incepta Group plc
_____________________________________________________________________

Reply via email to