Linux Today: Linux News On Internet Time.

Leveraging Industrial-strength Python Testing

Jun 26, 2009, 01:37 (0 Talkback[s])
(Other stories by Brandon Craig Rhodes)

[ Thanks to An Anonymous Reader for this link. ]

"The first article in this three-part series looked at the revolution that is occurring in Python testing thanks to standard testing frameworks like zope.testing, py.test, and nose. These support more simple test idioms, and can replace the ad-hoc code that projects have traditionally had to write and maintain for running their tests. The second article examined how these automated solutions search through a Python package to identify the modules that may contain tests.

"This article takes the next step and asks what the frameworks do when they then introspect a test module to discover what tests live inside of it. It also looks at details like how common test setup and teardown is supported, or not supported, by the three frameworks."

Complete Story

Related Stories: