parameterizedGroup2<A1, A2> function
- @isTestGroup
Parameterized group with 2 input arguments. See parameterizedGroup for more info.
Implementation
@isTestGroup
void parameterizedGroup2<A1, A2>(
/// 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, A2) 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,
p2(body),
setUp: setUp,
tearDown: tearDown,
testOn: testOn,
timeout: timeout,
skip: skip,
tags: tags,
onPlatform: onPlatform,
retry: retry,
);