Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Closed
feinstein opened this issue Jul 18, 2019 · 3 comments
Labels
a.cookbook Relates to a cookbook recipe or guide cl.duplicate Closes issue as duplicate of another issue e1-hours Effort: < 8 hrs from.page-issue Reported in a reader-filed concern p2-medium Necessary but not urgent concern. Resolve when possible. test.general Relates to unit, integration, perf testing

Comments

@feinstein
Copy link
Contributor

feinstein commented Jul 18, 2019

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 sfshaza2 added a.cookbook Relates to a cookbook recipe or guide e2-days Effort: < 5 days p2-medium Necessary but not urgent concern. Resolve when possible. labels Jul 23, 2019
@sfshaza2
Copy link
Contributor

@brianegan, can you comment?

@atsansone atsansone added from.page-issue Reported in a reader-filed concern tests test.general Relates to unit, integration, perf testing and removed tests labels May 19, 2023
@atsansone atsansone changed the title 'An introduction to unit testing' page issue Revise 'An introduction to unit testing' page to focus on flutter_test rather than test package. May 23, 2023
@atsansone atsansone added e1-hours Effort: < 8 hrs and removed e2-days Effort: < 5 days labels May 23, 2023
@atsansone
Copy link
Contributor

This issue should be handled at the same time as #5371.

@atsansone
Copy link
Contributor

This is a duplicate of #5372. Closing.

@atsansone atsansone closed this as not planned Won't fix, can't repro, duplicate, stale May 23, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
a.cookbook Relates to a cookbook recipe or guide cl.duplicate Closes issue as duplicate of another issue e1-hours Effort: < 8 hrs from.page-issue Reported in a reader-filed concern p2-medium Necessary but not urgent concern. Resolve when possible. test.general Relates to unit, integration, perf testing
Projects
None yet
Development

No branches or pull requests

3 participants