Loading…
Tuesday, September 24 • 2:55pm - 3:15pm
Your test coverage is lying to you (and how to fix it)

Sign up or log in to save this to your schedule, view media, leave feedback and see who's attending!

Feedback form is now closed.
If you take comfort in knowing that your unit test suite has very high coverage, or think that increasing your test coverage will guarantee catching bugs earlier, I have some bad news. Your test coverage metrics are lying to you.

If you’ve already been bitten by bugs that turned up in code that you thought was thoroughly tested, or suspect that your unit tests leave something to be desired, I can provide some hope. There is a better way!

In this interactive demonstration, I will use just a few lines of Javascript to achieve 100% test coverage without actually testing anything, and then show how using mutation testing tools can expose those lies without writing a single new test.

If you rely on unit tests in your development process at all, you’ll see how this simple technique can be used to evaluate your actual test coverage and highlight exactly what kinds of bugs you might still be missing.

Speakers
avatar for Gregory Paciga

Gregory Paciga

Canadian Broadcasting Corporation
Gregory Paciga is a test automation developer for CBC Digital Products in Toronto, working on apps and websites that millions of Canadians use daily for their news and entertainment. He came to software testing somewhat accidentally after a research career in astrophysics, where he... Read More →


Tuesday September 24, 2019 2:55pm - 3:15pm EDT
Yorkshire Room