Rapid Testing with Minimal Effort Using py.test

PyWorks / php|works At a Glance

Location: Atlanta, GA
Dates: Nov. 12 (tutorials)
Nov. 13-14 (main)
Tutorials: 10
Talks: 65
Presented By






Become a sponsor or media sponsor today!
Media Sponsors










Become a sponsor or media sponsor today!
Day #1: November 13, 2008 @ 13:30 – 14:30
Presented by: Holger Krekel
Talk focus: Python

This tutorial introduces to writing tests with Python. We briefly discuss benefits of test-driven development and start hands-on working with py.test, a popular tool for writing and running automated tests in a simple manner. Step by step, we walk through the writing of tests, using debugging facilities, the setup of application specific test state and the organisation of tests in a larger project. Eventually we look at how to write project specific testing extensions and we discuss existing ones for generating HTML pages, running javascript tests or distributing tests across multiple machines.