NAnt SDK Documentation - v0.92

NUnitTest.HaltOnError Property

Stop the build process if an error occurs during the test run.

[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;}

See Also

NUnitTest Class | NAnt.NUnit1.Types Namespace