Test & Code

12: Coverage.py with Ned Batchelder


Listen Later

In this episode I interview Ned Batchelder.

I know that coverage.py is very important to a lot of people to understand how much of their code is being covered by their test suites.

Since I'm far from an expert on coverage, I asked Ned to discuss it on the show.

I'm also quite a fan of Ned's 2014 PyCon talk "Getting Started Testing", so I definitely asked him about that.

We also discuss edX, Python user groups, PyCon talks, and more.

Some of what's covered (pun intended) in this episode:

  • coverage.py
    • types of coverage
      • Line coverage
      • branch coverage
      • Behavior coverage
      • Data coverage
      • How Ned became the owner of coverage.py
      • Running tests from coverage.py vs running coverage from test runner.
      • edX
        • what is it
        • what Ned's role is
        • Ned's blog
        • Ned's PyCon 2014 talk "Getting Started Testing"
          • Teaching testing and the difficulty of the classes being part of unittest
          • fixtures package
          • some of the difficulties of teaching unittest because of it's class based system.
          • the history of classes in unittest coming from java's jUnit implementation
          • Boston's Python Group
          • PyCon in Portland
          • Ned to do a talk here "Machete mode debugging".
          • Practicing PyCon talks at local group meetings.
          • At the very least, practice it in front of a live audience.
          • Links:

            • Ned Batchelder
            • Coverage
            • Coverage documentation
            • django-nose
            • pytest-django
            • edX
            • open edX
            • Boston Python User Group
            • Portland Python User Group - I need to go to these
            • PyCon 2016 - Planning on attending, it's in Portland. Yay!
            • Getting Started Testing - Ned's 2014 Pycon talk
            • Special Guest: Ned Batchelder.

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

              Test & CodeBy Brian Okken

              • 4.7
              • 4.7
              • 4.7
              • 4.7
              • 4.7

              4.7

              70 ratings


              More shows like Test & Code

              View all
              Radiolab by WNYC Studios

              Radiolab

              44,038 Listeners

              Software Engineering Daily by Software Engineering Daily

              Software Engineering Daily

              624 Listeners

              Heavy Networking by Packet Pushers

              Heavy Networking

              328 Listeners

              Talk Python To Me by Michael Kennedy

              Talk Python To Me

              589 Listeners

              Python Bytes by Michael Kennedy and Brian Okken

              Python Bytes

              214 Listeners

              Darknet Diaries by Jack Rhysider

              Darknet Diaries

              8,010 Listeners

              The Real Python Podcast by Real Python

              The Real Python Podcast

              141 Listeners

              Unexplainable by Vox

              Unexplainable

              2,278 Listeners

              Network Automation Nerds by Packet Pushers

              Network Automation Nerds

              3 Listeners