Software testing may form the bedrock of quality software, but most teams find that quality is more important than quantity in their test suites. Not all tests are created equal. Good tests cover the normal and novel; they protect the happy path and round off edge cases. On the other hand, flaky tests can quickly unravel, and an abundance of tests might give a team an inflated sense of confidence.
Every team manages this balancing act in their own way, but principal crafter Robert Wenner proposes that the two concepts are not mutually exclusive. In this recent 8th Light University presentation, Robert provides a refresher on what test coverage is, how it’s measured, and what its shortcomings are, before explaining how he has used test coverage metrics to uncover problematic code before it broke any tests — or before its lack of tests broke something else.
Join the Dialogue
- 100 Go Mistakes and How to Avoid Them
- Code from the presentation
- O’Rly book covers (More examples on Reddit)
About 8th Light University
8th Light University (8LU) is a virtual event series curated by 8th Light, a global software consultancy that partners with clients in creating software solutions. Topics focus on improving the craft of software product, design, and development. Software professionals of all skill levels are welcome! Watch past event videos on YouTube, join us at our next 8LU event, or sign up for our newsletter to to find out about upcoming events.