AI-powered
podcast player
Listen to all your favourite podcasts with AI-powered features
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.