Session
How Unit Testing Saved My Career
When I first started programming and the code didn't behave as I expected it to, I was struggling to understand why, leading to a lot of frustration. It was only after I discovered unit testing that things began to click. Testing not only helped me validate my work but also taught me how to write clearer, more structured code. However, as I gained more experience, I encountered projects where testing became a source of frustration. Overly complex unit and integration tests often made it difficult to understand what was truly being tested. When these tests failed, it was impossible to find out whether the issue was related to the code or the test setup itself, making me lose trust in the tests.
In this talk, we will explore how to make use of the power of testing without falling into the trap of over-complication. Using JUnit and Mockito, I will demonstrate how to write tests that are clear, purposeful, and truly aligned with what you want to validate. We will also discuss how writing testable code naturally leads to cleaner, more maintainable, and more readable code—code that not only passes tests but is also easier to understand and work with.
By the end of this session, you will see how testing can be your best friend in simplifying the development process and improving code quality. Whether you are new to testing or have struggled with complex tests, this talk will help you build a testing strategy that you can trust and rely on.
Learning about unit testing, was such a valuable tool for me while learning to program. If it was not for unit testing I might have quit on programming and not further pursued computer science. I since finished my apprenticeship and my bachelor's degree in computer science.
Testing can help much more than only to test the code. I hope that the audience starts to see the benefit of testing beyond the obvious reasons.

Annelore Egger
Software Engineer, OpenValue Switzerland
Brugg, Switzerland
Links
Please note that Sessionize is not responsible for the accuracy or validity of the data provided by speakers. If you suspect this profile to be fake or spam, please let us know.
Jump to top