skip method

void skip(
  1. String reason
)

Called by the runner instead of start and finish when the step is not run

Implementation

void skip(String reason) {
  skipReason = reason;
  status = StepStatus.skipped;
}