Bigger Unit Tests are Better - why small unit test classes will slow you down.
Do you take care that every class in your system has a separate unit test class? Are you a proud Test-First advocate? A code coverage advocate? Are you the Sonar police in your team? Do you take pride in knowing all the quirks of your mocking framework? Then this session might be a cold shower for you.
You will see how the general approach to unit testing might harm your flexibility. But a few simple changes in your approach will make your life better, your coding faster, your refactoring easier and your understanding of the business requirements stronger.
In this presentation, you will learn new strategies that will help you make your unit tests bigger. First, guided by clear code examples, we will look at why having many small test classes may harm you. Secondly, you will understand why making the tests bigger is such an important improvement. And lastly, you will learn techniques and tricks that will help make your unit tests bigger.
ABOUT THE SPEAKER
Peter Schuler has been passionate about coding since he was twelve years old. When coding he is a pragmatic, idealist who writes clean code with a fondness for SOLID, test-driven development, and clean architecture. Peter has been a trainer and a speaker on a wide range of topics like JPA, Web development, Security, TDD, and clean code. He is especially keen on learning from failures.
He lives in the Netherlands and works for a large Dutch bank, the Rabobank.
LinkedIn: www.linkedin.com/in/peterschuler/
TECH EXCELLENCE
Subscribe to our YouTube channel / @techexcellence
Join our Meetup Group www.meetup.com/techexcellence
Follow us on LinkedIn www.linkedin.com/company/techexcellenceio
Follow us on Twitter twitter.com/techexcellence_
Join our Discord Community discord.gg/KXdf4t4j2m
#tdd #testdrivendevelopment #refactoring #cleancode #techexcellence
コメント