This is a pre-production deployment of Warehouse. Changes made here affect the production instance of PyPI (pypi.python.org).
Help us improve Python packaging - Donate today!

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 and specify the execute order in test suite


usage:

>>> 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:

[tests]

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

>>> nose.run(argv=['--with-plan-loader', '--plan-file', 'PATH_OF_PLAN_FILE', '--loop', 'INTEGER_NUMBER'],
addplugins=[PlanLoaderPlugin()])
Release History

Release History

This version
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

History Node

1.8.4

History Node

1.8.3

History Node

1.8.2

History Node

1.8.1

Download Files

Download Files

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

File Name & Checksum SHA256 Checksum Help Version File Type Upload Date
customnoseplugins-3.1.2.tar.gz (9.3 kB) Copy SHA256 Checksum SHA256 Source Feb 16, 2017

Supported By

WebFaction WebFaction Technical Writing Elastic Elastic Search Pingdom Pingdom Monitoring Dyn Dyn DNS Sentry Sentry Error Logging CloudAMQP CloudAMQP RabbitMQ Heroku Heroku PaaS Kabu Creative Kabu Creative UX & Design Fastly Fastly CDN DigiCert DigiCert EV Certificate Rackspace Rackspace Cloud Servers DreamHost DreamHost Log Hosting