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

Widget test support #16

Open
rizumita opened this issue Aug 10, 2022 · 1 comment
Open

Widget test support #16

rizumita opened this issue Aug 10, 2022 · 1 comment

Comments

@rizumita
Copy link

Can I use glados with Widget Test?
If not, do you plan to support it?

@MarcelGarus
Copy link
Owner

It's not currently supported, I'd have to create a separate package and because I currently don't actively use Glados myself, I probably won't get to that in the near future.

I thought a bit on how to implement this. It would probably involve parameterizing the Glados.test function over the testing function (like, have an optional testingFunction parameter that defaults to test_package.test), and then creating a new glados_flutter package with Glados.widgetTest extensions which call the test function with the corresponding widget test method.

If you're interested in implementing that, I could add you as a contributor.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants