“Am I testing the right way?” by Sebastian Konieczek
“Am I Testing the Right Way?” by Sebastian Konieczek What can or should be considered the right size of a unit with regard to what is tested in isolation? Two unit-testing approaches explained! Pick any topic around testing and there will be at least two very contrary approaches that seem to be at odds. One of the many points of discussion around unit testing, and in particular TDD, are the questions around what good boundaries for tests are. So the question is: Should you unit test each method on your classes or should you only unit test the public interfaces of a given feature or component? Specifically: What can or should be considered the right size of a unit with regard to what is to be tested in isolation. This talk is a spin off of the article that was previously published on Foojay.io.
About Sebastian Sebastian is a passionate Full Stack Software Engineer from OpenValue Düsseldorf. He is an expert in the requirement analysis of complex systems in the field of investment advice and pension provision, but his long years of experience he covers the entire software life cycle from analysis to commissioning and support. Sebastian’s interests lie in architecture and design issues, but coding remains his passion. When there is time left over from work and family, he does weight training and fitness, plays games and enjoys working on hobby projects.