run function

void run (
  1. {String path,
  2. bool FAIL_SKIPPED,
  3. bool SHOW_SUCCESS,
  4. bool HIDE_SKIPPED,
  5. bool SHOW_ID,
  6. bool SHOW_MESSAGE,
  7. bool NO_COLOR}
)

Implementation

void run({
  String path,
  bool FAIL_SKIPPED,
  bool SHOW_SUCCESS,
  bool HIDE_SKIPPED,
  bool SHOW_ID,
  bool SHOW_MESSAGE,
  bool NO_COLOR,
}) async {
  final parser = Parser();

  await parser.parseFile(path);

  DotReporter(
    parser: parser,
    showSuccess: SHOW_SUCCESS,
    hideSkipped: HIDE_SKIPPED,
    failSkipped: FAIL_SKIPPED,
    showId: SHOW_ID,
    showMessage: SHOW_MESSAGE,
    noColor: NO_COLOR,
    out: stdout,
  ).printReport();
}