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 Generate Tests That Work

When you do code generation on test, you arrive that things might not be perfect or other way you want. And that's why we avoided completely generating everything automatically. What we basically do is integrated some tools that can record our actions when we perform resizing on the UI. For example, if you hit an hit at clamping edge, your resizing stops there, right? You can visually confirm that your cursor keeps moving but the box doesn't resize anymore. So that what the test should do as well. That's how we made sure that all the tests that we generate would also have high quality and adhere to all the rules that we defined.

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