Developer: “YESSS! My world-class widget test is ready to run.” (runs the test) Debug Console: “Expected to see 1 widget, found none.” Developer: What! Why, why, why!!! (figures out all async calls in the widget; spends 4Â hours re-reading about widget testing, exploring the source code of WidgetTester.pump()Â and setting up mock classes using Mockito.) Developer: “Muwaha […]