TestCase<INPUT extends Object?, OUTPUT extends Object?> constructor

TestCase<INPUT extends Object?, OUTPUT extends Object?>({
  1. required String when,
  2. required String then,
  3. required INPUT input,
  4. required dynamic matcher,
  5. ParameterizedCallback<INPUT, OUTPUT>? action,
  6. String? testOn,
  7. Timeout? timeout,
  8. dynamic skip,
  9. dynamic tags,
  10. Map<String, dynamic>? onPlatform,
  11. int? retry,
})

action is optional. Do not provide action, if the TestCase is executed in a TestGroup.

Implementation

TestCase({
  required this.when,
  required this.then,
  required this.input,
  required this.matcher,
  this.action,
  this.testOn,
  this.timeout,
  this.skip,
  this.tags,
  this.onPlatform,
  this.retry,
});