testWithRandom method
void
testWithRandom(
- String description,
- Tester3WithRandom<First, Second, Third> body, {
- String? testOn,
- Timeout? timeout,
- dynamic skip,
- dynamic tags,
- Map<String, dynamic>? onPlatform,
- int? retry,
})
Implementation
@isTest
void testWithRandom(
String description,
Tester3WithRandom<First, Second, Third> body, {
String? testOn,
test_package.Timeout? timeout,
dynamic skip,
dynamic tags,
Map<String, dynamic>? onPlatform,
int? retry,
}) {
final random = explore.random.nextRandom();
test(
description,
(a, b, c) => body(a, b, c, random.nextRandom()),
testOn: testOn,
timeout: timeout,
skip: skip,
tags: tags,
onPlatform: onPlatform,
retry: retry,
);
}