Flutter Widget and Integration Tests — some Surprises about Timeouts and Durations

Alfred Schilken
7 min readDec 26, 2021

I’ve been working on a big Flutter project for half a year now. One of my tasks is writing integration tests. In this article I summarize what I have learned about timouts.

You will learn:

  • how to fail early when pumpAndSettle() waits on endless running animations.

--

--

Alfred Schilken

Software Developer for more than 35 years, started with C and C++, after Java, Python, Groovy, Lua, Golang and Swift now focussing on Dart and Flutter