Enhancing Python unit tests further with decorators en

By drm on Sunday 13 February 2011 17:55
Category: Development, Views: 3.228

Decorators in Python are awesome. In follow-up to my previous post on a missing feature in Python’s unittest module in comparison to PHPUnit, here’s the implementation of PHPUnit’s @expectedException annotation in form of a Python decorator

Read the entire post at melp.nl

Volgende: Unit testing and Drupal; what's wrong with this picture? 02-'11 Unit testing and Drupal; what's wrong with this picture?
Volgende: Endless scrolling based on a simple HTML pager 02-'11 Endless scrolling based on a simple HTML pager

Comments

Comments are disabled