HaltOnError Property

NAnt SDK Documentation - v0.92 |

# NUnitTask.HaltOnError Property

Stops running tests when a test causes an error. The default is false.

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

#### Remarks

Implies haltonfailure.

#### See Also

NUnitTask Class | NAnt.NUnit1.Tasks Namespace