withTestOptions method

ValueWithTestOptions withTestOptions({
  1. Timeout? timeout,
  2. dynamic skip,
  3. dynamic tags,
  4. Map<String, dynamic>? onPlatform,
  5. int? retry,
})

Applied extra test options for a specified test value. For example:

[
  4,
  5.withTestOptions(skip: true),
]

Implementation

ValueWithTestOptions withTestOptions({
  dart_test.Timeout? timeout,
  dynamic skip,
  dynamic tags,
  Map<String, dynamic>? onPlatform,
  int? retry,
}) =>
    ValueWithTestOptions(
      [this],
      TestOptions(
        timeout: timeout,
        skip: skip,
        tags: tags,
        onPlatform: onPlatform,
        retry: retry,
      ),
    );