NAnt SDK Documentation - v0.85-nightly-2005-11-09

NUnitTask.HaltOnError Property

[This is preliminary documentation and subject to change.]

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