Podcast Lookup

11: pytest assert magic

Test & Code

  • February 4, 2016
  • 14 min
  • Episode 11
Episode page

About this episode

How pytest, unittest, and nose deal with assertions.

The job of the test framework to tell developers how and why their tests failed is a difficult job.

In this episode I talk about assert helper functions and the 3 methods pytest uses to get around having users need to use assert helper functions.