IntegrationScenario<Example extends IntegrationExample?> constructor
IntegrationScenario<Example extends IntegrationExample?> ({
- required String description,
- required List<
IntegrationStep< steps,IntegrationExample?> > - void setUpMocks(
- IntegrationMocks mocks
- List<
Example> examples = const [], - IntegrationTestWidgetsFlutterBinding? binding,
- TestGroupFunction? setUpEach,
- TestGroupFunction? tearDownEach,
- TestGroupFunction? setUpOnce,
- TestGroupFunction? tearDownOnce,
Implementation
IntegrationScenario({
required String description,
required List<IntegrationStep> steps,
void Function(IntegrationMocks mocks)? setUpMocks,
List<Example> examples = const [],
IntegrationTestWidgetsFlutterBinding? binding,
TestGroupFunction? setUpEach,
TestGroupFunction? tearDownEach,
TestGroupFunction? setUpOnce,
TestGroupFunction? tearDownOnce,
}) : _description = description,
_steps = steps,
_setUpMocks = setUpMocks,
_binding = binding,
_examples = examples,
_setUpEach = setUpEach,
_tearDownEach = tearDownEach,
_setUpOnce = setUpOnce,
_tearDownOnce = tearDownOnce;