markTestSkipped function

void markTestSkipped(
  1. String message
)

Marks the current test as skipped.

A skipped test may still fail if any exception is thrown, including uncaught asynchronous errors. If the entire test should be skipped return from the test body after marking it as skipped.

Implementation

void markTestSkipped(String message) => _currentInvoker..skip(message);