Mercari Dec 24, 2024

How to unit-test Mercari Hallo Flutter app

Article Summary

Mercari's Hallo team shares how they built a robust Flutter testing strategy that actually speeds up development instead of slowing it down.

Heejoon, a software engineer on Mercari's Work Mobile team, walks through their complete unit testing approach for the Hallo Flutter app. The article covers everything from basic logic tests to handling time-dependent code, widget testing with golden files, and automated code coverage in CI/CD.

Key Takeaways

Critical Insight

Mercari Hallo's testing infrastructure combines custom wrappers, automated coverage analysis, and smart tooling to maintain high quality while keeping development velocity fast.

The team hints at their custom linter setup and tackles the tricky challenge of mocking GraphQL codegen hooks, both worthy of their own deep dives.

Recent from Mercari

Related Articles