success property
bool
success
Returns an overall status for the report. This will return true
if, and
only if, there were no errors encountered within the test. If any errors
exist, be it step specific or test-wide, this will return false
.
Implementation
bool get success {
var success = runtimeException == null;
for (var step in steps) {
success = success && step.error == null;
}
return success;
}