execSync method

void execSync({
  1. int? maxLaps,
  2. Duration? maxSpan,
})

Execute all tests and output results (synchronous)

Implementation

void execSync({int? maxLaps, Duration? maxSpan}) {
  this.maxLaps = maxLaps;
  this.maxSpan = maxSpan;

  isOutLaps = (maxLaps == null);

  for (var i = 0, n = tests.length; i < n; i++) {
    tests[i].execSync(maxLaps: maxLaps, maxSpan: maxSpan);
  }

  out.exec();
}