skip to navigation
skip to content

Not Logged In

nose-parallel 0.1.4

A nosetests plugin to split test suites to run in parallel

A plugin to help split up your tests runs across multiple machines.

In an ideal world, test suites should be fast enough that they can be run locally on a single machine without extra engineering. This plugin is there to help when you can't make that to happen.

This won't help you run tests in parallel on one machine in different threads; that's what the built-in multiprocess plugin is for.

This will help you split up your test suites so that you can run the suites on multiple machines and not have the same test run twice - think Jenkins with the multijob plugin, or CI services like CircleCI.


pip install nose-parallel


On each machine:

  1. Export environment variables NODE_TOTAL (the number of machines on which the suite will be run) and and NODE_INDEX (the 0-based index of the current machine)
  2. Run nosetests with the --with-parallel flag
  3. Do something to join the results from all the machines back together

For example, this is how we'd run nosetests on the second machine in a four-machine testing cluster:

NODE_TOTAL=4 NODE_INDEX=1 nosetests --with-parallel

If you don't set those variables, nose-parallel will do the right thing and run all your tests. The CircleCI versions of the environment variables (CIRCLE_NODE_TOTAL and CIRCLE_NODE_INDEX, respectively) are also natively supported.


nose-parallel is released under the MIT license.


  • Check for open issues or open a fresh issue to start a discussion around a feature idea or a bug.
  • Fork the repository on GitHub to start making your changes to the master branch (or branch off of it).
  • Send a pull request and bug the maintainer until it gets merged and published.
  • Add yourself to the authors list in

Thanks To

File Type Py Version Uploaded on Size
nose-parallel-0.1.4.tar.gz (md5) Source 2013-12-05 3KB
nose_parallel-0.1.4-py27-none-any.whl (md5) Python Wheel 2.7 2013-12-05 5KB
  • Downloads (All Versions):
  • 10 downloads in the last day
  • 137 downloads in the last week
  • 723 downloads in the last month