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

Integration Testing docs are very basic and don't cover common real-world scenarios #142050

Open
bartekpacia opened this issue Jan 23, 2024 · 1 comment
Labels
a: tests "flutter test", flutter_test, or one of our tests c: proposal A detailed proposal for a change to Flutter d: api docs Issues with https://api.flutter.dev/ f: integration_test The flutter/packages/integration_test plugin framework flutter/packages/flutter repository. See also f: labels. P2 Important issues not at the top of the work list team-framework Owned by Framework team triaged-framework Triaged by Framework team

Comments

@bartekpacia
Copy link
Member

bartekpacia commented Jan 23, 2024

I feel like Integration Testing documentation (link 1, link 2) is not good enough. It doesn't mention how limited the integration_test package is:

New Flutter developers thus may think that integration_test "the best" of testing and that everybody does that, while in reality it's rarely the case because of the problems above.

As far as I'm aware the Flutter team doesn't have plans nor throughput to improve the integration_test plugin, but maybe these docs could link to other popular testing frameworks made by the community, including:

along with a short description (possible also including a list of objective advantages and disadvantages).

@bartekpacia
Copy link
Member Author

The docs could also mention Semantics.identifier as a recommended way to expose widgets for accessibility-based UI testing.

@dam-ease dam-ease added in triage Presently being triaged by the triage team a: tests "flutter test", flutter_test, or one of our tests framework flutter/packages/flutter repository. See also f: labels. d: api docs Issues with https://api.flutter.dev/ c: proposal A detailed proposal for a change to Flutter f: integration_test The flutter/packages/integration_test plugin team-framework Owned by Framework team and removed in triage Presently being triaged by the triage team labels Jan 24, 2024
@goderbauer goderbauer added P2 Important issues not at the top of the work list triaged-framework Triaged by Framework team labels Jan 30, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
a: tests "flutter test", flutter_test, or one of our tests c: proposal A detailed proposal for a change to Flutter d: api docs Issues with https://api.flutter.dev/ f: integration_test The flutter/packages/integration_test plugin framework flutter/packages/flutter repository. See also f: labels. P2 Important issues not at the top of the work list team-framework Owned by Framework team triaged-framework Triaged by Framework team
Projects
None yet
Development

No branches or pull requests

3 participants