Title: <nunit2> haltonerror does not appear to work

        I am executing unit test in several assemblies using a single <nunit2> task.  One of the assemblies is encountering errors.  This halts the execution of the remaining unit tests.  However, the 'haltonerror' attribute of this task claims to 'Stop the test run if a test fails'.  This attribute defaults to false, so I would not expect the behavior that I described above.  I have also tried explicitly setting this attribute with no effect.  Here is the task from my NAnt script.

<nunit2 verbose="true" haltonfailure="false" failonerror="false">
   <formatter type="Xml" usefile="true" extension=".nunit.xml" outputdir="${comp.rpt.cfg.dir}" />
   <test>
      <assemblies refid="test.assemblies" />
   </test>
</nunit2>

Has anyone else seen this?  Is this a bug or am I misunderstanding the use of this attribute?

Thanks,
Tom

Reply via email to