HaltOnFailure Property

NAnt SDK Documentation - v0.92 |

# NUnit2Task.HaltOnFailure Property

Stop the test run if a test fails. The default is false.

[Visual Basic]
<TaskAttribute(Name:="haltonfailure", Required:=False, ExpandProperties:=True, ProcessXml:=True), _ BooleanValidator>
Public Property HaltOnFailure As Boolean
[C#]
[TaskAttribute(Name="haltonfailure", Required=False, ExpandProperties=True, ProcessXml=True)]
[BooleanValidator]
public bool HaltOnFailure {get; set;}

#### See Also

NUnit2Task Class | NAnt.NUnit2.Tasks Namespace