blob: 3927994f72c9b66a3f6acb99b957d8168a9b8e5a [file] [log] [blame]
// Copyright (c) 2015, the Dart project authors. Please see the AUTHORS file
// for details. All rights reserved. Use of this source code is governed by a
// BSD-style license that can be found in the LICENSE file.
import 'package:meta/meta_meta.dart';
/// An annotation for marking a test suite as skipped.
@Target({TargetKind.library})
final class Skip {
/// The reason the test suite is skipped, or `null` if no reason is given.
final String? reason;
/// Marks a suite as skipped.
///
/// If [reason] is passed, it's included in the test output as the reason the
/// test is skipped.
const Skip([this.reason]);
}