Closed gazialankus closed 2 years ago
https://flutter.dev/docs/cookbook/testing/integration/introduction#2-add-the-integration_test-dependency
https://github.com/flutter/website/tree/main/src/docs/cookbook/testing/integration/introduction.md
The text says we add flutter_driver to dependencies, but the code excerpt does not have it. I believe that the code is correct and the text is old. integration_test is an alternative to flutter_driver, as evidenced by the following links:
https://flutter.dev/docs/testing/integration-tests#migrating-from-flutter_driver https://github.com/codemagic-ci-cd/codemagic-sample-projects/blob/main/flutter/flutter-integration-tests-demo-project/pubspec.yaml
Remove flutter_driver from the text.
No response
I think this a stronger piece of supporting evidence: https://flutter.dev/docs/testing/integration-tests#project-setup
@gazialankus, thanks for catching that
Closed. The issue has been fixed.
Page URL
https://flutter.dev/docs/cookbook/testing/integration/introduction#2-add-the-integration_test-dependency
Page source
https://github.com/flutter/website/tree/main/src/docs/cookbook/testing/integration/introduction.md
Describe the problem
The text says we add flutter_driver to dependencies, but the code excerpt does not have it. I believe that the code is correct and the text is old. integration_test is an alternative to flutter_driver, as evidenced by the following links:
https://flutter.dev/docs/testing/integration-tests#migrating-from-flutter_driver https://github.com/codemagic-ci-cd/codemagic-sample-projects/blob/main/flutter/flutter-integration-tests-demo-project/pubspec.yaml
screenshot
Expected fix
Remove flutter_driver from the text.
Additional context
No response