Integration test with integration_test package #3009
Copy link
Copy link
Closed
Labels
in debuggingRelates to the debug adapter or process of running debug sessionsRelates to the debug adapter or process of running debug sessionsin flutterRelates to running Flutter appsRelates to running Flutter appsis enhancementAn enhancement or improvement that should be listed in release notes but is not a bug fix.An enhancement or improvement that should be listed in release notes but is not a bug fix.
Milestone
Description
Hello,
I see support to run and debug integration tests using flutter_driver #2614
There is a new way to write integration tests
https://medium.com/flutter/updates-on-flutter-testing-f54aa9f74c7e
https://flutter.dev/docs/testing/integration-tests
can you please provide some guidance on how to use flutter drive command to run and debug integration tests.
Thanks
bsr
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
in debuggingRelates to the debug adapter or process of running debug sessionsRelates to the debug adapter or process of running debug sessionsin flutterRelates to running Flutter appsRelates to running Flutter appsis enhancementAn enhancement or improvement that should be listed in release notes but is not a bug fix.An enhancement or improvement that should be listed in release notes but is not a bug fix.
Activity
[-]Integration test with `flutter drive` command[/-][+]Integration test with integration_test package[/+]bsr203 commentedon Dec 15, 2020
updating with some of the comments from @DanTup
bsr203 commentedon Dec 15, 2020
key finding are:
dart-code uses folder to decide test.
integration_testis not in the list, but is currently recommended by flutter docs.integration test uses
flutter drivecommand, so code lens need to use it instead offlutter testfor integration tests.integration test needs to honor
flutterTestAdditionalArgs, or need similar flag to pass argumentsRecognise "integration_test" folder as tests that require a device
Recognise "integration_test" folder as tests that require a device
Recognise "integration_test" folder as tests that require a device
Recognise "integration_test" folder as tests that require a device