markSkipped method
Marks this test as skipped.
A skipped test may still fail if any exception is thrown, including uncaught asynchronous errors.
Implementation
void markSkipped(String message) {
if (_invoker.closed) throw ClosedException();
_invoker.skip(message);
}