Python Testing

Python Software Development and Software Testing (posts and podcast)

  • Start Here
  • Podcast
  • Subscribe
  • Support
  • About
  • The Book
  • Contact
  • Archive
  • Slack

12: Coverage.py with Ned Batchelder

February 9, 2016 By Brian Leave a Comment

[powerpress]

Subscribe on iTunes, RSS

PythonTestPodcast_Cover

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

Share:

  • Click to share on Google+ (Opens in new window)
  • Click to share on Facebook (Opens in new window)
  • Click to share on Reddit (Opens in new window)
  • Click to share on LinkedIn (Opens in new window)
  • Click to share on Twitter (Opens in new window)

Related posts:

  1. 9: Harry Percival : Testing Web Apps with Python, Selenium, Django
  2. 13: Ian Cordasco – Betamax
  3. 20: Talk Python To Me host Michael Kennedy
  4. 16: Welcome to Test and Code
  5. 23: Lessons about testing and TDD from Kent Beck

Filed Under: Podcast Tagged With: coverage, PyCon

Python Testing with unittest, nose, pytest.
Get up to speed fast on pytest, unittest, and nose.
All in the comfort of your own e-reader.

Leave a Reply Cancel reply

Learn pytest FAST

Get your tests up and running fast. Learn to use pytest in this easy to follow book

Python Bytes Podcast

Python headlines delivered directly to your earbuds. 15 minute conversation on the topical items of the week in the Python ecosystem