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 Distribution
Built Distribution
Hashes for nose_reorder-0.0.3-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 9d1ed1c0397dbaae0cc8fcbdf306658e4ed6fe85b530d4075a6d357e0bfa3183 |
|
MD5 | bcf7e3ebe1a18072aa1979d5071a7f8e |
|
BLAKE2b-256 | 63ce4f67afa9b0a87c8a7ad704f661aacdccb7ea3928dbfaf454a8d832231853 |