September 2019
Beginner
512 pages
12h 52m
English
Widget tests are used to validate widgets in an isolated way. They look very similar to unit tests but focus on widgets.
The main goal is to check widget interactions and whether widgets look as expected. As widgets live in the widget tree inside the Flutter context, widget tests require the framework environment to be executed. That is why Flutter provides tools for writing widget tests through the flutter_test package.
Read now
Unlock full access