Restarting a Flutter App with Flutter Driver
Flutter Driver is a neat way of testing Flutter applications perfoming integration tests. It allows you to run your Flutter application in an emulator and to control the app from your test code, performing taps and asserting that the app works as expected. One problem I faced when using Flutter Driver is that the app won’t restart between tests. For example, I would run a test in which the user performs a login, then a test in which the user performs a registration, but after the login test, the test left the app logged in.
Continue Reading