A nose plugin to reorder tests by likelihood of failure
Project description
A nose plugin to reorder tests by likelihood of failure. This plugin needs to access Launbhable API.
Install
$ pip install nose-reorder
Usage
$ nosetests --reorder
In addition to specifying the --reorder flag, you need to set the following environment variables in your environment. These values should be provided from Launchable.
Key |
Description |
---|---|
LAUNCH ABLE_REORDERING_AWS_ACCESS_KEY_ID |
AWS access key id to retrieve a request template file |
LAUNCHABLE _REORDERING_AWS_SECRET_ACCESS_KEY |
AWS secret access key to retrieve a request template file |
LAUNCHABLE_REORDERING_API_TOKEN |
API token to access Launchable API |
LAUNCHABLE_REORDERING_DIR_NAME |
Directory name storing a request template file |
LAUNCHABLE_REORDERING_BASE_URL |
Launchable API URL |
LAUNCHABLE_REORDERING_ORG_NAME |
Launchable organization name |
LAU NCHABLE_REORDERING_WORKSPACE_NAME |
Launchable workspace name |
Development
Pull requests are always appreciated. If you want to see whether your changes work as expected, run the following command to install the plugin locally.
$ python setup.py develop
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distributions
Built Distribution
Hashes for nose_reorder-0.0.5-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 6cdf79a49c5d216d9d3c0f4daae0f185803b8fe6c4578a84c530570d00fdb3e3 |
|
MD5 | cd2619d37626d149d73f0bf0a853c026 |
|
BLAKE2b-256 | c99daf4cc1beef0354c2f18df8a2b9193e34af30436fbe162d2ca00d61b94587 |