gherkin_integration_test library

Classes

And<Example extends IntegrationExample?>
Implementation of a IntegrationStep that logs a 'Gherkin' -> 'And' step.
But<Example extends IntegrationExample?>
Implementation of an IntegrationStep that logs a 'Gherkin' -> 'But' step.
Given<Example extends IntegrationExample?>
Implementation of a IntegrationStep that logs a 'Gherkin' -> 'Given' step.
GivenWhenThen<Example extends IntegrationExample?>
Implementation of an IntegrationStep that logs a 'Gherkin' -> 'Give', 'When' and 'Then' step.
IntegrationBox
Used to store data that stays persistent over several IntegrationSteps inside a IntegrationScenario.
IntegrationExample
Used to define 'Scenario Outline' examples.
IntegrationFeature
Used to specify and test a list of IntegrationScenario.
IntegrationMocks
Used to store mocks that stay persistent throughout the whole IntegrationScenario.
IntegrationScenario<Example extends IntegrationExample?>
Used to hold and test a list of IntegrationStep.
IntegrationStep<Example extends IntegrationExample?>
Used to represents a step inside a IntegrationScenario.
IntegrationTest
Used to hold and test a list of IntegrationFeature.
Should<Example extends IntegrationExample?>
Implementation of an IntegrationStep that discards the 'Gherkin' notation and tells us directly what the code should do.
Then<Example extends IntegrationExample?>
Implementation of an IntegrationStep that logs a 'Gherkin' -> 'Then' step.
When<Example extends IntegrationExample?>
Implementation of an IntegrationStep that logs a 'Gherkin' -> 'When' step.
WhenThen<Example extends IntegrationExample?>
Implementation of an IntegrationStep that logs a 'Gherkin' -> 'When' and 'Then' step.

Typedefs

IntegrationStepCallback<Example extends IntegrationExample?> = FutureOr<void> Function(WidgetTester tester, IntegrationLog log, IntegrationBox box, IntegrationMocks mocks, [Example? example, IntegrationTestWidgetsFlutterBinding? binding])
Callback used to provide the necessary tools to execute an IntegrationStep.
TestGroupFunction = FutureOr Function(IntegrationMocks mocks)
Used as a signature for test methods setUp, setUpAll, tearDown and tearDownAll.