Flying High with Flutter cover image

Elevating Your Flutter App with Box Transform: A Deep Dive - Flying High with Flutter #119

Flying High with Flutter

CHAPTER

How to Write Tests for a Dark Package

Every handle needs its own suite of tests. Every single handle has eight or sorry, four different resize modes. Each resize mode needs to be checked against each corner of a clamping rect and against constraints - both at the same time. Even if you wanted to write tests first, it would simply be unrealistic and impractical. It would be impossible even. So generating the test, we actually generated... We generated or he, Berjo wrote or generated 200 tests to get complete coverage. For the dark package and resizing, yes, we don't have stairs for bragging since it is so simple, we never bought them yet. But yeah, for resizing it, it covers everything. Every single

00:00
Transcript
Play full episode

Remember Everything You Learn from Podcasts

Save insights instantly, chat with episodes, and build lasting knowledge - all powered by AI.
App store bannerPlay store banner