Skip to content

PropTuple7Ops<A, B, C, D, E, F, G>

extension PropTuple7Ops<A, B, C, D, E, F, G> on Record

Methods

forAll() extension

void forAll(
  String description,
  FutureOr<void> Function(A, B, C, D, E, F, G) testBody, {
  int? numTests,
  int? seed,
  String? testOn,
  Timeout? timeout,
  dynamic skip,
  dynamic tags,
  Map<String, dynamic>? onPlatform,
  int? retry,
})

Available on Record, provided by the PropTuple7Ops<A, B, C, D, E, F, G> extension

Implementation
dart
@isTest
void forAll(
  String description,
  Function7<A, B, C, D, E, F, G, FutureOr<void>> testBody, {
  int? numTests,
  int? seed,
  String? testOn,
  Timeout? timeout,
  dynamic skip,
  dynamic tags,
  Map<String, dynamic>? onPlatform,
  int? retry,
}) => _forAll<(A, B, C, D, E, F, G)>(
  description,
  ($1, $2, $3, $4, $5, $6, $7).tupled,
  testBody.tupled,
  numTests: numTests,
  seed: seed,
  testOn: testOn,
  timeout: timeout,
  skip: skip,
  tags: tags,
  onPlatform: onPlatform,
  retry: retry,
);