2min chapter

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

Get the Snipd
podcast app

Unlock the knowledge in podcasts with the podcast player of the future.
App store bannerPlay store banner

AI-powered
podcast player

Listen to all your favourite podcasts with AI-powered features

Discover
highlights

Listen to the best highlights from the podcasts you love and dive into the full episode

Save any
moment

Hear something you like? Tap your headphones to save it with AI-generated key takeaways

Share
& Export

Send highlights to Twitter, WhatsApp or export them to Notion, Readwise & more

AI-powered
podcast player

Listen to all your favourite podcasts with AI-powered features

Discover
highlights

Listen to the best highlights from the podcasts you love and dive into the full episode