Nils Reichardt is a software developer, entrepreneur, and startup founder from Germany. We talked about different testing approaches, integration tests, Firebase Test Lab, and GitHub Actions.
In this episode, my guest is Nils Reichardt. Nils is a 20-year-old developer and entrepreneur from Germany.
I reached out to Nils and invited him to talk about his experience with integrations test, Firebase Test Lab with Flutter, and GitHub Actions.
Nils shared his current testing approach that is a mixture of different testing methods, such as unit tests, widget tests, golden tests, and integration tests. We discussed the advantages and disadvantages of the different approaches. For complex business logic, unit tests are great, they are fast and easy to maintain. With widget tests, you can verify the structure and behavior of your Flutter widgets, with golden tests, you can check the appearance of your widgets. Integration tests give you the highest confidence that your app actually works the way you want to, but they run slowly, they are expensive and hard to maintain.
Firebase Test Lab is a cloud-based app testing infrastructure that lets you test your app on a range of devices and configurations, so you can get a better idea of how it'll perform in the hands of live users. With it, you can test both Android and iOS apps.
Nils integrated Firebase Test Lab into their pipeline with GitHub Actions, so that after a merge, he and his team could verify that the most important functionalities of their app work perfectly.
Guest: Nils Reichardt
Host: Vince Varga
Most relevant past episodes from Flutter 101