Integration tests, Firebase Test Lab, and GitHub Actions with Nils Reichardt


Manage episode 301434544 series 2896151
著作 Vince Varga の情報はPlayer FM及びコミュニティによって発見されました。著作権は出版社によって所持されます。そして、番組のオーディオは、その出版社のサーバから直接にストリーミングされます。Player FMで購読ボタンをタップし、更新できて、または他のポッドキャストアプリにフィードのURLを貼り付けます。

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

Other resources

27 つのエピソード