bitsdojo / bitsdojo_window

A Flutter package that makes it easy to customize and work with your Flutter desktop app window.
http://www.youtube.com/watch?v=bee2AHQpGK4
MIT License
816 stars 229 forks source link

Possible to run widget tests against an app that is using bitsdojo_window? #208

Open john-rager opened 1 year ago

john-rager commented 1 year ago

Very nice package - thank you for contributing it!

I have a question. Is it possible to do widget testing (using flutter_test) on an app that incorporates bitsdojo_window? I've tried a few things, but I can't seem to figure out how to get a call to doWhenWindowReady() into my test to ensure that the app window is fully instantiated. Unsurprisingly, my test is failing miserably without it.

Any ideas? Thanks!

therealchiko commented 3 months ago

bumping this as I have also come across the same issue.