parameterizedGroup1<A1> function

  1. @isTestGroup
void parameterizedGroup1<A1>(
  1. Object description,
  2. Iterable values,
  3. dynamic body(
    1. A1
    ), {
  4. dynamic setUp()?,
  5. dynamic tearDown()?,
  6. String? testOn,
  7. Timeout? timeout,
  8. dynamic skip,
  9. dynamic tags,
  10. Map<String, dynamic>? onPlatform,
  11. int? retry,
})

Parameterized group with 1 input arguments. See parameterizedGroup for more info.

Implementation

@isTestGroup
void parameterizedGroup1<A1>(
  /// Group description.
  Object description,

  /// List of group values. For each values in the list a group test will be executed.
  Iterable<dynamic> values,

  /// The test body which is executed for each group value.
  /// See [TestParameters] for more info on different bodies.
  dynamic Function(A1) body, {
  dynamic Function()? setUp,

  /// Provide a tearDown function to the `group` test.
  dynamic Function()? tearDown,
  String? testOn,
  Timeout? timeout,
  dynamic skip,
  dynamic tags,
  Map<String, dynamic>? onPlatform,
  int? retry,
}) =>
    parameterizedGroup(
      description,
      values,
      p1(body),
      setUp: setUp,
      tearDown: tearDown,
      testOn: testOn,
      timeout: timeout,
      skip: skip,
      tags: tags,
      onPlatform: onPlatform,
      retry: retry,
    );