-
Notifications
You must be signed in to change notification settings - Fork 4.1k
test(firebase_core): migrate to integration_test package
#8928
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
test(firebase_core): migrate to integration_test package
#8928
Conversation
| void main() { | ||
| IntegrationTestWidgetsFlutterBinding.ensureInitialized(); | ||
|
|
||
| // ignore: unnecessary_lambdas |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This line will be remove when I migrated a second package.
| @@ -0,0 +1,81 @@ | |||
| // Copyright 2019, the Chromium project authors. Please see the AUTHORS file | |||
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
| import 'package:flutter/foundation.dart'; | ||
| import 'package:flutter_test/flutter_test.dart'; | ||
| import 'package:integration_test/integration_test.dart'; | ||
| import 'package:tests/firebase_options.dart'; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Another difference to the Flutter Drivers tests is that I'm using the firebase_options.dart file from the lib instead of copying it again in the integration_test folder (like it has been done in the test_driver folder).
integration_test packageintegration_test package

Description
Migrates the Flutter Driver tests to Flutter Integration tests. I just copied the Flutter Driver. So have not changed any test.
Related Issues
Part of #6829
Checklist
Before you create this PR confirm that it meets all requirements listed below by checking the relevant checkboxes (
[x]).This will ensure a smooth and quick review process. Updating the
pubspec.yamland changelogs is not required.///).melos run analyze) does not report any problems on my PR.Breaking Change
Does your PR require plugin users to manually update their apps to accommodate your change?