Undercover: Coverage Lies
For years we’ve looked for coverage as the key metric representing quality. We know it’s not much, but it’s what we’ve got, right?
The truth is that coverage lies all the time. The easiest way to trick coverage tool is remove the ”assert” statement from the test. There are a couple of ways we’re tricking ourselves to believe the coverage report, painting the wrong picture.
In this session, I’ll go over what we believe are coverage truths (usually made to believe by tool vendors…) and what to actually look for in coverage. Coverage reports are not useless – you just need to know what to look for.
We build assumptions and make decisions based on what coverage tells us. Let’s make sure we start by understanding what real useful coverage is.
Unit testing and agile trainer and speaker
Gil Zilberfeld has been in software since childhood, starting out with Logo turtles. With twenty years of developing commercial software, he has vast experience in software methodology and practices.
Gil is the product manager at Typemock, working as part of an agile team in an agile company, creating tools for agile developers. He promotes unit testing and other design practices, down–to–earth agile methods, and some incredibly cool tools. Gil speaks in local and international venues about unit testing, TDD, and agile practices and communication. And in his spare time he shoots zombies, for fun.
Gil blogs at http://www.gilzilberfeld.
com on different agile topics, including processes, communication and unit testing.
- Building Skynet
- Come drink with the GitHubbers
- From Pains to Practices
- Opening Cut & Paste DJ Set
- Erlang for Scalable Insatant Messaging
- 5 Leadership Hacks To Build Great Teams
- Mobile, Web and Cloud - All The Three Worlds in a Price of One
- Running an Erlang Based Messaging System on AWS
- Building Wireless Sensor Networks, MQTT, RaspberryPi and Arduino
- Real-time HTML5 Web Apps
- Undercover: Coverage Lies
- From Feature Toggles To Self Test - Continues Deployment Strategies
- Riak: Built Distributed
- Developing Financial Software for the Sharks in Wall Street
- Service Oriented Architecture in Real Life
- Building Cutting Edge UI in The Enterprise World
- Hugs from Bugs
- What's Wrong with PHP
- The Myth of Dynamic Language Performance
- Computer Vision 101
- Method Acting (and other rapid QA processes)
- Failing in Plain Sight (Succeeding Invisibly)
- RubyMotion: Put your Dreams in Motion with Ruby
- Erlang From Behind The Trenches
- Reevaluating Password Strength Using GPUs