Skip to content

Glossary: Flutter

widget test

Also written: testWidgets, WidgetTester, pumpWidget, pumpAndSettle

A test that builds a widget without a device and checks what it shows, using a `WidgetTester` to `pumpWidget`, `tap` and `pump`, and finders like `find.text` with `findsOneWidget`.

Where the book teaches it

Related terms

unit testoverrideintegration test