~/talk

expect(isTestingInFlutterEasy, isTrue);

Talkat Android Summit 2020 · 2020-10-08..10-09· [flutter, testing]
links:none on file
slides:none on file

Claim: testing in Flutter is easy and the answer is yes — demonstrated by unit, widget and integration tests for a quiz app that all run and pass. Tools shown: flutter_test mockito flutter_driver, plus coverage via lcov and html report. Examples include mocking async game APIs, pumping/pumpAndSettle for widget state, scripted device runs that tap three answers and confirm the final score. The repo hits nearly 100% lines covered in ~20 minutes and CI suggestions: Codemagic or GitHub Actions.

AI-written summary · about

  1. 0:00Intro
  2. 1:00Types of testing we can do on Flutter
  3. 4:45Let's recap for a second
  4. 6:25The test framework offers...
  5. 12:08Questionnaire
  6. 16:09Mockito
  7. 18:31Why do we mock?
  8. 18:55Let's remember our UI
  9. 21:36What is going on?
  10. 24:46What do we need to run integration tests
  11. 28:30Demo time!
  12. 30:08Here's a surprise for you!
~/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.