Skip navigation.

Python unit testing part 3: the py.test tool and library

Python unit testing part 3: the py.test tool and library

python | unit testing
Python developers who are serious about testing their code are fortunate to have a choice between at least three unit test frameworks: unittest, doctest and py.test. I'll discuss these frameworks and I'll focus on features such as availability, ease of use, API complexity, test execution customization, test fixture management, test reuse and organization, assertion syntax, dealing with exceptions. In this final post I'll discuss the py.test tool and library.

Author: Grig Georghiu
Published: January 28, 2005