Skip to main content
This is a pre-production deployment of Warehouse. Changes made here affect the production instance of PyPI (
Help us improve Python packaging - Donate today!

Nose test method ordering plugin

Project Description

Nose order plugin

This plugin allows methods in Nose test classes to run in the order they are
defined, rather than alphabetically.

Note that it is bad practice to rely on test order. If you can avoid it, do so;
otherwise this plugin is for you.


From PyPI: pip install nose_order_plugin
From source: install


- Mark the test class with the nose_order_plugin.ordered decorator
- Pass the --with-ordered-tests option to Nose


- Only plain classes may be ordered. Classes deriving from unittest.TestCase
are incompatible with this plugin.
- The plugin looks at source code lines for ordering; if the methods are not
defined in a single file (or other magic is used), the ordering might not be
- Test generators are not supported -- they might work, but they're untested.


The current maintainer is Petr Viktorin <>
The plugin was originally developed as part of the FreeIPA project.

Development is done on Github:
Issues and pull requests are welcome.

A Github-less workflow is also available:
- git clone
- Create a set of patches and mail them to the author,
or host a Git branch and send a link to it by e-mail.

Release History

This version
History Node


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
(2.9 kB) Copy SHA256 Hash SHA256
Source None Aug 16, 2013

Supported By

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 Google Google Cloud Servers