Stop Mocking, Start Testing

April 16, 2012 1

This video presents Google Code convictions about creating tests for test-unfriendly code and the larger topic of testing. Project Hosting at Google Code is a large, well-established system written mostly in Python. When launched, Project Hosting’s testing consisted of the stock Subversion test suite and a handful of ad hoc smoke test scripts that required starting the entire system and manually inspecting the test’s output.

Behaviour Driven Development in Python

March 7, 2012 0

Behaviour Driven Development (BDD) is a different way of approaching the “how to validate your code” problem. It aims to help focus development on the delivery of prioritized, verifiable business value by providing a common vocabulary. This video discusses various ways to try out BDD in Python, from the periodically maligned doctests to simple unittest module usages to more specialized modules.

Python Unit Testing

January 26, 2012 0

This article presents a strategy for unit testing in Python, using a set of utility functions that converts to and from Roman numerals. The author discusses the benefits of a Test-Driven Development (TDD) approach and propose a detailed testing process for all the cases of the functions.

Python Testing: Coverage Analysis

June 6, 2011 0

This article covers the coverage analysis of Python: * Building a network management application * Installing and running coverage on your test suite * Generating an HTML report using coverage * Generating an XML report using coverage * Getting nosy with coverage

1 2