Skip to content

PropOps<A>

extensionPropOps<A>onGen<A>

Methods

forAll() extension

voidforAll(Stringdescription,FutureOr<void>Function(A)testBody, {int?numTests,int?seed,String?testOn,Timeout?timeout,dynamicskip,dynamictags,Map<String,dynamic>?onPlatform,int?retry,});

Available on Gen<A>, provided by the PropOps<A> extension

Implementation
dart
@isTest
void forAll(
  String description,
  Function1<A, FutureOr<void>> testBody, {
  int? numTests,
  int? seed,
  String? testOn,
  Timeout? timeout,
  dynamic skip,
  dynamic tags,
  Map<String, dynamic>? onPlatform,
  int? retry,
}) => _forAll(
  description,
  this,
  testBody,
  numTests: numTests,
  seed: seed,
  testOn: testOn,
  timeout: timeout,
  skip: skip,
  tags: tags,
  onPlatform: onPlatform,
  retry: retry,
);