PHPUnit style dataProvider in Python unit test en

By drm on Monday 7 February 2011 21:40
Category: Development, Views: 3.881

PHPUnit has a handy feature with which you can provide testdata to your tests. This is called a data provider, and is implemented by annotating a test with @dataProvider methodName. Python’s unittest module doesn’t seem to have such a feature.

Read more

Volgende: Endless scrolling based on a simple HTML pager 02-'11 Endless scrolling based on a simple HTML pager
Volgende: Introducing Spritzer: A CSS sprite generator 01-'11 Introducing Spritzer: A CSS sprite generator

Comments

Comments are disabled