flutter / website

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

Clarify relationship between `flutter_test` and `test` packages on 'An introduction to unit testing' page #5371

Closed hk6an6 closed 1 year ago

hk6an6 commented 3 years ago

Page URL: https://docs.flutter.dev/cookbook/testing/unit/introduction Page source: https://github.com/flutter/website/blob/main/src/cookbook/testing/unit/introduction.md

Description of issue:

Lines 18 to 19 are misleading. To clarify, the page should state:

You need the [`flutter_test`](https://pub.dev/packages/test).
It contains the [`test`](https://api.flutter.dev/flutter/flutter_test/flutter_test-library.html)
package and provides utilities for testing widgets.
atsansone commented 1 year ago

This is a duplicate of https://github.com/flutter/website/issues/5372. Closing.