-
Notifications
You must be signed in to change notification settings - Fork 114
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
…n the pre-defined steps in favour of the implicit `pumpAndSettle` calls used in the `WidgetTesterAppDriverAdapter`. - Added ability to add a `appLifecyclePumpHandler` to override the default handler that determines how the app is pumped during lifecycle events. Useful if your app has a long splash screen etc. Parameter is on `executeTestSuite`. - Added ability to ensure feature paths are relative when generating reports `useAbsolutePaths` on the `GherkinTestSuite` attribute * BREAKING CHANGE: The parameters on `executeTestSuite` are now keyed to allow for the above changes
- Loading branch information
1 parent
70f1c6c
commit 1f63ecc
Showing
21 changed files
with
295 additions
and
283 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
9 changes: 6 additions & 3 deletions
9
example_with_integration_test/integration_test/gherkin_suite_test.dart
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,14 +1,17 @@ | ||
import 'package:flutter_gherkin/flutter_gherkin.dart'; | ||
import 'package:flutter_test/flutter_test.dart'; | ||
import 'package:gherkin/gherkin.dart'; | ||
|
||
import 'gherkin/configuration.dart'; | ||
|
||
part 'gherkin_suite_test.g.dart'; | ||
|
||
@GherkinTestSuite() | ||
@GherkinTestSuite( | ||
useAbsolutePaths: false, | ||
) | ||
void main() { | ||
executeTestSuite( | ||
gherkinTestConfiguration, | ||
appInitializationFn, | ||
appMainFunction: appInitializationFn, | ||
configuration: gherkinTestConfiguration, | ||
); | ||
} |
Oops, something went wrong.