Writing good code can be quite a challenge! While coding itself might not seem too tough, making sure your code behaves exactly as you want, now and in the future, takes a lot of dedication and hard work.One way to make sure your code is doing what it's supposed to is by writing tests. But here's the thing: not all tests have the same value!In this talk, I'll share my own journey from thinking "Unit tests are the ultimate solution to ensuring my code is solid!" to realizing "Wait, why did this problem pop up? My unit tests said everything was fine... I didn't think this could ever happen!".We'll delve into the core principles of writing good tests (and, naturally, good code). We'll also explore different types of automated tests, so by the end, you'll feel more confident in trusting your own tests.Our journey will take us through the testing pyramid, where we'll discuss how it's set up and its pros and cons. Then, we'll check out the testing trophy, which has a slightly different focus. This approach lets us achieve more with fewer tests, giving us more time to focus on delivering value to our customers and, of course, doing what we enjoy most: writing quality code!And don't worry, we'll have plenty of practical, real-world code examples to illustrate each topic, making it easier for you to put these ideas into action in your own projects.
Get notified about new features and conference additions.