Mutation Testing: Case Studies on Spring Boot APIs
Why do we do TDD We re more productive since our code is easier to maintain and bugs are easier to find. We refactor more easily without fear of unknowingly breaking things. Our users are delighted by new features and fewer hassles. In short, to release betterquality code more quickly with a degree of safety. That sounds good, but maybe were operating without a net and dont even know it What if we told you that your tests are passing because they re too general or they test the wrong behavior How do you evaluate whether you re really testing well Mutation testing: a testing framework to mutate code and see if your tests fail. (Hint: you want them to fail. ) In this session, Heather Conklin, Senior Developer at HCSC, and Dave Kaiser, Associate Developer at HCSC, will examine the benefits of mutation testing, with realworld examples of what happened when we put apparently wellcovered code through the process. Were we walking a tightrope without a net Are you
|
|