Skip to main content

test plan plugins for the nose testing framework

Project description

Extra plugins for the nose testing framework to load test case from a plan file.


usage:

>>> nosetests --with-plan-loader --plan-file-name path_of_plan_file --plan-loop-number 10


plan file content:

[tests]

packagename.modulename.classname.testcasename = 3

packagename.modulename.classname.testcasename = 5


FUTURE support plan file content:

[tests]

packagename.modulename:classname.testcasename = 3

packagename.modulename:classname.testcasename = 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.


start from command-line:
nosetests --with-plan-loader --plan-loop-number 100 --with-file-output --verbosity 2

start programmly:

>>> from customnoseplugins.planloader import PlanLoaderPlugin

>>> nose.run(argv=['--with-plan-loader', '--plan-file-name', 'plan', '--plan-loop-number', '100'],
addplugins=[PlanLoaderPlugin()])

Project details


Release history Release notifications

History Node

3.1.3

History Node

3.1.2

History Node

3.1.1

History Node

3.1.0

History Node

3.0.9

History Node

3.0.8

History Node

3.0.7

History Node

3.0.6

History Node

3.0.5

History Node

3.0.4

History Node

3.0.3

History Node

3.0.2

History Node

3.0.1

History Node

3.0.0

History Node

2.0.0

History Node

1.8.7

History Node

1.8.6

History Node

1.8.5

This version
History Node

1.8.4

History Node

1.8.3

History Node

1.8.2

History Node

1.8.1

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Filename, size & hash SHA256 hash help File type Python version Upload date
customnoseplugins-1.8.4.tar.gz (9.5 kB) Copy SHA256 hash SHA256 Source None May 7, 2014

Supported by

Elastic Elastic Search Pingdom Pingdom Monitoring Google Google BigQuery Sentry Sentry Error logging CloudAMQP CloudAMQP RabbitMQ AWS AWS Cloud computing Fastly Fastly CDN DigiCert DigiCert EV certificate StatusPage StatusPage Status page