test method

FutureOr<void> test({
  1. required WidgetTester tester,
  2. required IntegrationLog log,
  3. required IntegrationBox box,
  4. required IntegrationMocks mocks,
  5. Example? example,
  6. 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,
        );
      },
    );