Session
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 evangelist? 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.
Peter Schuler
Senior Java Developer @ Rabobank
Utrecht, The Netherlands
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