flutter / website

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

Revise 'An introduction to unit testing' page to focus on `flutter_test` rather than `test` package. #2837

Closed feinstein closed 1 year ago

feinstein commented 5 years ago

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

Description of issue:

The beginning of the page says:

The test package provides the core framework for writing unit tests, and the flutter_test package provides additional utilities for testing widgets.

But the rest of page fails to expose what's the difference between the test and flutter_test packages. After a short search I could find that flutter_test is built on top of the test package, which makes me wonder, why this Flutter cookbook suggest to add only a test package dependency then?

sfshaza2 commented 5 years ago

@brianegan, can you comment?

atsansone commented 1 year ago

This issue should be handled at the same time as https://github.com/flutter/website/issues/5371.

atsansone commented 1 year ago

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