test method
FutureOr<void>
test({
- required WidgetTester tester,
- required IntegrationLog log,
- required IntegrationBox box,
- required IntegrationMocks mocks,
- Example? example,
- IntegrationTestWidgetsFlutterBinding? binding,
Runs all code defined in a specific IntegrationStep.
Implementation
FutureOr<void> test({
required WidgetTester tester,
required IntegrationLog log,
required IntegrationBox box,
required IntegrationMocks mocks,
Example? example,
IntegrationTestWidgetsFlutterBinding? binding,
}) async =>
await tester.runAsync<Object?>(
() async {
debugPrintSynchronously(_description);
return await _step(
tester,
log,
box,
mocks,
example,
binding,
);
},
);