-
Notifications
You must be signed in to change notification settings - Fork 52
Running multiple integration tests script #150
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
Running multiple integration tests script #150
Conversation
|
How is this related to the flutter_plugin_tools package? What's common between your implementation and flutter_plugin_tools? |
|
@swift-kim
|
|
Thanks for making such a great tool! flutter tool logs flutter-tizen drive --driver=test_driver/integration_test.dart --target=integration_test/path_provider_test.dart
Running "flutter pub get" in example... 546ms
The platform profile is used for signing.
Building a Tizen application in debug mode... 28.8s
✓ Built build/tizen/tpk/org.tizen.path_provider_tizen_example-1.0.0.tpk (25.8MB).
Installing build/tizen/tpk/org.tizen.path_provider_tizen_example-1.0.0.tpk... 24.4s
VMServiceFlutterDriver: Connecting to Flutter application at http://127.0.0.1:45413/sCDkqKWjWBg=/
VMServiceFlutterDriver: Isolate found with number: 1779345267457467
VMServiceFlutterDriver: Isolate is paused at start.
VMServiceFlutterDriver: Attempting to resume isolate
VMServiceFlutterDriver: Connected to Flutter application.
All tests passed.dlogs ...
I/ConsoleMessage(18728): flutter: 00:03 +6 -7: (tearDownAll)
I/ConsoleMessage(18728): flutter: 00:03 +7 -7: Some tests failed. |
|
@bbrto21 |
|
Although the problem mentioned by @bbrto21 is not caused by this script, the problem should be fixed for the script to work correctly. I'll work on that first. |
|
With flutter-tizen/flutter-tizen#177, it's now possible to display correct results of integration_test using the command Some plugins fail integration tests because they either require the screen to be awake or require manually clicking the UI button for permission requests. These are currently handled by setting timeouts. |
bbrto21
left a comment
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.
LGTM
swift-kim
left a comment
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.
Some nitpicks. Overall looks good to me!
Script that runs multiple integration tests locally and aggregates the result. Implementation is referenced from flutter-plugin-tools. Please see the help message(
./tools/run_integration_test.py -h) for details oh how to use the script.Contributes to #148
Example Command:
Output:
Currently each plugin test will all run on the same connected device, and it cannot skip tests for plugins that aren't supported with that device's profile.