Devops, Agile, Method. & TestsDevops, Agile, Method. & Tests
Conference50min
BEGINNER

How Unit Testing Saved My Career

This talk explores how to harness testing effectively without unnecessary complexity. Using JUnit and Mockito, it demonstrates writing clear, purposeful tests that validate intent and promote clean, maintainable code. Attendees will learn to build a trustworthy testing strategy that simplifies development and enhances code quality.

talk.summaryAiDisclaimer

Annelore Egger
Annelore EggerOpenValue
talks.description
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.
junit
simplicity
testing
mockito
talks.speakers
Annelore Egger

Annelore Egger

OpenValue

Switzerland

Annelore is a passionate software developer from Switzerland who values high-quality code, likes working in teams, and sharing her knowledge. She also likes to meet new people, so if you see her around, feel free to say hi!