flutter / website

Flutter documentation web site
https://docs.flutter.dev
Other
2.82k stars 3.23k forks source link

☂️ Improve Widget and Driver Tests sections #7795

Open kentcb opened 6 years ago

kentcb commented 6 years ago

Per this discussion, it seems widget tests are under-documented in these ways:

Ultimately, what I want to do is use automate the execution of widget tests on my CI to take snapshots of the app at various points. This way, I can set up a feed for my test team to monitor to see if anything visual breaks during the development of an application. Of course, I will need to choose a resolution at which to take the snapshots, but I am unclear on how I can achieve this.


This should include:

eseidelGoogle commented 6 years ago

This is a @yjbanov or @Hixie question. Thanks!

Hixie commented 6 years ago

Where did you look for this information? (Not sure where to put the answers.)

kentcb commented 6 years ago

I think I started here, but I'd swear those docs have been improved recently, because they certainly looked more fleshed out than I recall. However, the commit history says otherwise, so I guess I just didn't take it all in the first time. Regardless, I still think clarity is required around widget tests/black area.

Hixie commented 6 years ago

We can definitely improve them!

zoechi commented 5 years ago

Related flutter/flutter#12994, flutter/flutter#19181, flutter/flutter#5885, flutter/flutter#5026 https://github.com/flutter/flutter/wiki/Writing-a-golden-file-test-for-package%3Aflutter