onException method

  1. @override
Future<void> onException(
  1. Object exception,
  2. StackTrace stackTrace
)

Implementation

@override
Future<void> onException(Object exception, StackTrace stackTrace) async {
  _testSuites[_testSuiteIndex].errors++;
}