Skip to content

PropTuple14Ops<A, B, C, D, E, F, G, H, I, J, K, L, M, N>

extension PropTuple14Ops<A, B, C, D, E, F, G, H, I, J, K, L, M, N> on Record

Methods

forAll() extension

void forAll(
  String description,
  FutureOr<void> Function(A, B, C, D, E, F, G, H, I, J, K, L, M, N) 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 PropTuple14Ops<A, B, C, D, E, F, G, H, I, J, K, L, M, N> extension

Implementation
dart
@isTest
void forAll(
  String description,
  Function14<A, B, C, D, E, F, G, H, I, J, K, L, M, N, 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, H, I, J, K, L, M, N)>(
  description,
  ($1, $2, $3, $4, $5, $6, $7, $8, $9, $10, $11, $12, $13, $14).tupled,
  testBody.tupled,
  numTests: numTests,
  seed: seed,
  testOn: testOn,
  timeout: timeout,
  skip: skip,
  tags: tags,
  onPlatform: onPlatform,
  retry: retry,
);