The Python Podcast.__init__

Coverage.py with Ned Batchelder


Listen Later

Summary

We write tests to make sure that our code is correct, but how do you make sure the tests are correct? This week Ned Batchelder explains how coverage.py fills that need, how he became the maintainer, and how it works under the hood.

Preface
  • Hello and welcome to Podcast.__init__, the podcast about Python and the people who make it great.
  • I would like to thank everyone who supports us on Patreon. Your contributions help to make the show sustainable.
  • When you’re ready to launch your next project you’ll need somewhere to deploy it. Check out Linode at www.podastinit.com/linode?utm_source=rss&utm_medium=rss and get a $20 credit to try out their fast and reliable Linux virtual servers for running your awesome app.
  • Visit the site to subscribe to the show, sign up for the newsletter, read the show notes, and get in touch.
  • To help other people find the show please leave a review on iTunes, or Google Play Music, tell your friends and co-workers, and share it on social media.
  • Your host as usual is Tobias Macey and today I’m interviewing Ned Batchelder about coverage.py, the ubiquitous tool for measuring your test coverage.
  • Interview
    • Introductions
    • How did you get introduced to Python?
    • What is coverage.py and how did you get involved with the project?
    • The coverage project has become the de facto standard for measuring test coverage in Python. Why do you think that is?
    • What is the utility of measuring test coverage?
    • What are the downsides to measuring test coverage?
    • One of the notable capabilities that was introduced recently was the plugin for measuring coverage of Django templates. Why is that an important capability and how did you manage to make that work?
    • How does coverage conduct its measurements and how has that algorithm evolved since you first started work on it?
    • What are the most challenging aspects of building and maintaining coverage.py?
    • While I was looking at the bug tracker I was struck by the vast array of contexts in which coverage is used. Do you find it overwhelming trying to support so many operating systems and Python implementations?
    • What might be added to coverage in the future?
    • Keep In Touch
      • @nedbat on Twitter
      • Website
      • Picks
        • Tobias
          • Org-Journal

          • Ned

            • Hypothesis
            • The Infinite Monkey Cage

            • Links
              • edX
              • Lotus Notes
              • Zope
              • Coverage.py
              • Gareth Rees
              • Trace in stdlib
              • Fig Leaf
              • State Machines
              • CodeCov
              • Coveralls
              • Cobertura
              • Turing Completeness
              • Django Templates
              • Jinja2
              • Mako
              • Hy-lang
              • GCov
              • Jython
              • Code Triage Service
              • Who Tests What
              • The intro and outro music is from Requiem for a Fish The Freak Fandango Orchestra / CC BY-SA

                ...more
                View all episodesView all episodes
                Download on the App Store

                The Python Podcast.__init__By Tobias Macey

                • 4.4
                • 4.4
                • 4.4
                • 4.4
                • 4.4

                4.4

                100 ratings


                More shows like The Python Podcast.__init__

                View all
                The Changelog: Software Development, Open Source by Changelog Media

                The Changelog: Software Development, Open Source

                283 Listeners

                Data Skeptic by Kyle Polich

                Data Skeptic

                482 Listeners

                Chat With Traders by Tessa Dao

                Chat With Traders

                1,979 Listeners

                Talk Python To Me by Michael Kennedy

                Talk Python To Me

                592 Listeners

                Software Engineering Daily by Software Engineering Daily

                Software Engineering Daily

                623 Listeners

                The TWIML AI Podcast (formerly This Week in Machine Learning & Artificial Intelligence) by Sam Charrington

                The TWIML AI Podcast (formerly This Week in Machine Learning & Artificial Intelligence)

                446 Listeners

                Super Data Science: ML & AI Podcast with Jon Krohn by Jon Krohn

                Super Data Science: ML & AI Podcast with Jon Krohn

                297 Listeners

                Python Bytes by Michael Kennedy and Brian Okken

                Python Bytes

                215 Listeners

                Data Engineering Podcast by Tobias Macey

                Data Engineering Podcast

                142 Listeners

                Machine Learning Guide by OCDevel

                Machine Learning Guide

                764 Listeners

                Syntax - Tasty Web Development Treats by Wes Bos & Scott Tolinski - Full Stack JavaScript Web Developers

                Syntax - Tasty Web Development Treats

                986 Listeners

                DataFramed by DataCamp

                DataFramed

                267 Listeners

                Practical AI by Practical AI LLC

                Practical AI

                192 Listeners

                The Real Python Podcast by Real Python

                The Real Python Podcast

                140 Listeners

                Hard Fork by The New York Times

                Hard Fork

                5,432 Listeners