nose-mp-split
This plugin adds _multiprocess_can_split_ = True to each of your test classes and modules. That’s all. This tells nose’s multiprocess plugin that it doesn’t need to run all of a class’s tests in the same process. Nose will then distribute test cases from the same class (or module) across different processes. It was written in response to behavior demonstrated here.
When it’s safe to use with your tests, this plugin is so cool!
There’s no need to edit your tests to contain a nose-specific flag.
It evenly distributes test cases (rather than test classes) across processes. This utilizes worker process better to speed up test runs, especially if one class has many tests cases and takes much longer to run than the others.
It produces more responsive output. Since nose runs test classes in worker processes, it waits until each class has finished before printing the results for that class. This plugin ensures the results of a test case are printed immediately after that test has finished.
You can use this plugin when you know your tests are safe to run in parallel. For instance, don’t use this plugin if you have test fixtures that cannot be run repeatedly and concurrently in multiple processes.
Quickstart
$ pip install nose-mp-split
$ nosetests --mp-split-all --processes=4 mytests/
nose-mp-split has no effect when not running tests in multiple processes.
Metadata
Release files for nose-mp-split 0.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 | |
|---|---|---|---|---|
| nose-mp-split-0.0.1.tar.gz | 2.7 kB | Without provenance | Details |
Release files / nose-mp-split-0.0.1.tar.gz
| Download URL | nose-mp-split-0.0.1.tar.gz |
|---|---|
| Size | 2.7 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
da63b3f8f3b87c90452c85e6bb629e11cae1b1a8ecbe8577665d6f0deb9f63aa
|
|
BLAKE2b-256 checksum How to use checksums |
4f7101b8f4e7cdb6b7f76c2231df983532ae71bc01cc53118798d91a30ffc7bc
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
Security for nose-mp-split 0.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.