Skip to content

PropTuple3Ops<A, B, C>

extension PropTuple3Ops<A, B, C> on Record

Methods

forAll() extension

void forAll(
  String description,
  FutureOr<void> Function(A, B, C) 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 PropTuple3Ops<A, B, C> extension

Implementation
dart
@isTest
void forAll(
  String description,
  Function3<A, B, C, 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)>(
  description,
  ($1, $2, $3).tupled,
  testBody.tupled,
  numTests: numTests,
  seed: seed,
  testOn: testOn,
  timeout: timeout,
  skip: skip,
  tags: tags,
  onPlatform: onPlatform,
  retry: retry,
);