flutter / website

Flutter documentation web site
https://docs.flutter.dev
Other
2.81k stars 3.21k forks source link

[PAGE ISSUE]: 'An introduction to integration testing' #6437

Closed gazialankus closed 2 years ago

gazialankus commented 2 years ago

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

gazialankus commented 2 years ago

I think this a stronger piece of supporting evidence: https://flutter.dev/docs/testing/integration-tests#project-setup

screenshot
danagbemava-nc commented 2 years ago

@gazialankus, thanks for catching that

MiraMarshall commented 2 years ago

Closed. The issue has been fixed.