J-Spring 2023: Bigger Unit Tests Are Better – Peter Schuler
Unit tests are the most important contribution a developer makes to the product quality. However, the general approach to unit testing harms your flexibility. This talk shows you how the use of many small tests will slow you down. But …. with a few simple changes in your approach, you will make your life better, code faster, refactor 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. And is the distinction between a unit and an integration test really that important?