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

docs: Tab UI Widget Test #4312

Open
jensencelestial opened this issue Jan 3, 2025 · 0 comments
Open

docs: Tab UI Widget Test #4312

jensencelestial opened this issue Jan 3, 2025 · 0 comments
Labels
documentation Documentation requested

Comments

@jensencelestial
Copy link

Description

Is there any documentation on how to create Widget Tests for Tab UI? Found this TODOs Doc that has 2 "tabs", each tab has its own BlocProvider. Can we create a Widget Test for HomeView that properly renders the IndexedStack? I don't know if there's any way we can mock/stub a BlocProvider.

Also found this which uses TabBar and also uses BlocProvider for each tab, but no Widget Tests.

@jensencelestial jensencelestial added the documentation Documentation requested label Jan 3, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
documentation Documentation requested
Projects
None yet
Development

No branches or pull requests

1 participant