~/talk

The Beautiful World of Testing in Flutter: Mastering Unit, Widget, and Integration Tests

Talkat Fluttercon Europe 2023 · 2023-07-05..07-07· [testing]
name:Max Weber
links:none on file
slides:none on file

A simple Flutter calculator gets built and tested end to end: unit tests call add/subtract and assert results like expect 13 for 5 + 8, using seeds to detect order-dependent failures and sharding to speed up 4,000 tests in 10 minutes. Widget tests use the widget tester, pump, finders and optional golden screenshots that auto-create and often force tedious updates. Integration tests use the integration_test package and run on device farms like Firebase Test Lab (slow, valuable, sometimes flaky). Test pyramid and CI badges (SonarQube, Codemagic) guide strategy.

AI-written summary · about

  1. 0:00Introduction to testing
  2. 1:28Unit testing fundamentals
  3. 5:00Widget testing concepts
  4. 9:55Golden file tests explained
  5. 12:21Integration testing overview
  6. 17:16Test pyramid and strategy
  7. 21:08Selling testing to business
  8. 23:15Q&A and closing
~/search
type to search 6,249 conferences, 138,987 speakers and 185,172 talks
~/help
cmdctrl k
search every conference, speaker and series
/
focus the filter search
h
home
c
conferences
s
speakers
e
series
t
light / dark — the status bar button does the same
?
this help
esc
close this, then clear every filter — or just the search, while you are typing in it

Ignored while you are typing. Pages without a filter rail have no search to focus.