skip to navigation
skip to content

customnoseplugins 3.0.4

test plan plugins for the nose testing framework

Latest Version: 3.1.2

Extra plugins for the nose testing framework to load test case from a plan file and specify the execute order in test suite


>>> nosetests --with-plan-loader --plan-file PATH_OF_PLAN_FILE --loop 10

>>> nosetests --with-plan-loader --plan-file PATH_OF_PLAN_FILE --loop 10 --timeout 180

plan file content:


packagename.modulename.classname.testcasename1 = 3

packagename.modulename.classname.testcasename2 = 5

1: allow to custom a test plan file. the plan file can define the test cases name list and the executed loop count in one loop.
All tests will be executed from top to end follow it's own loop count.

2: allow to define the test cycle number. the test will be executed cyclically until exceed the cycle number. default only
executed 1 cycle.

3: set timeout limitation(seconds) for each test method

start from command-line:
nosetests --with-plan-loader --plan-file PATH_OF_PLAN_FILE --loop 100
nosetests --with-plan-loader --plan-file PATH_OF_PLAN_FILE --loop 100 --timeout 180

start programmly:

>>> from customnoseplugins.planloader import PlanLoaderPlugin

>>>['--with-plan-loader', '--plan-file', 'PATH_OF_PLAN_FILE', '--loop', 'INTEGER_NUMBER'],
File Type Py Version Uploaded on Size
customnoseplugins-3.0.4.tar.gz (md5) Source 2014-08-12 8KB