printReport method

void printReport ()

Implementation

void printReport() {
  // Mutates results, used to remove invalid parsed data
  parser.tests.removeWhere((k, v) => v.state == null);

  _countTestResults();
  final resultIconsLine = _renderSingleLineOfIcons();
  final result = _renderShortResultLines();

  _render(resultIconsLine, result);

  if (skippedCount > 0 && failSkipped) {
    exitCode = 1;
  }
  if (failedCount > 0) {
    exitCode = 2;
  }
}