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.
INSTALLATION
From PyPI: pip install nose_order_plugin
From source: setup.py install
USAGE
- Mark the test class with the nose_order_plugin.ordered decorator
- Pass the --with-ordered-tests option to Nose
CAVEATS
- 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
precise.
- Test generators are not supported -- they might work, but they're untested.
DEVELOPMENT
The current maintainer is Petr Viktorin <encukou@gmail.com>
The plugin was originally developed as part of the FreeIPA project.
Development is done on Github: github.com/encukou/nose-order-plugin
Issues and pull requests are welcome.
A Github-less workflow is also available:
- git clone github.com/encukou/nose-order-plugin
- 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.
Metadata
Release files for nose-order-plugin 0.1
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| nose-order-plugin-0.1.tar.gz | 2.9 kB | Without provenance | Details for nose-order-plugin-0.1.tar.gz |
Release files / nose-order-plugin-0.1.tar.gz
| Download URL | nose-order-plugin-0.1.tar.gz |
|---|---|
| Size | 2.9 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
f8f5ec802c6acb2f6cc6d5ab416995869c75c560ccba241613f3df12829a0932
|
|
BLAKE2b-256 checksum How to use checksums |
c872ef242e9067faf13320b7b930743df4e2120c3cd41e2219c398d793e17619
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
Security for nose-order-plugin 0.1
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.