9-11 July 2007
Vilnius, Lithuania
Europe/Zurich timezone

unittest is Broken

9 Jul 2007, 16:30
30m
Alpha (Vilnius, Lithuania)

Alpha

Vilnius, Lithuania

Speaker

Collin Winter (Google)

Description

In this paper I examine the shortcomings and core design flaws of Python's standard unittest module, focusing specifically on the programmer's ability to extend unittest. I then discuss the requirements for an extensible testing framework and introduce test_harness, an alternative framework designed from the ground up to address these fundamental issues. Finally, examples drawn from real-world, unittest-based test suites are reformulated using test_harness to demonstrate the power of the new framework.

Primary author

Presentation Materials