A nose plugin to interact with Launchable API
Project description
A nose plugin to interact with Launchable API.
Install
$ pip install nose-launchable
Usage
Subset
$ nosetests --launchable-subset --launchable-build-number <build number> --launchable-subset-options <Launchable CLI subset options>
You need to specify --launchable-subset-options flag and give it Launchable CLI subset command options. For example, if you want to create a fixed time-based subset it looks like --launchable-subset-options '--time 600'.
For more information on the CLI options, please visit the CLI documentation page.
Record only
$ nosetests --launchable-record-only --launchable-build-number <build number>
In addition, you may need to set the following environment variables in your environment. These values should be provided from Launchable.
Key |
Description |
---|---|
LAUNCHABLE_BASE_URL |
(Optional) A Launchable API URL. Default is https: //api.mercury.launchableinc.com |
LAUNCHABLE_BUILD_NUMBER |
(Optional) A CI/CD build number |
LAUNCHABLE_DEBUG |
(Optional) Prints out debug logs |
LAUNCHABLE_TOKEN |
(Required) A token to access Launchable API |
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
Release history Release notifications | RSS feed
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_launchable-0.3.8-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 05b43c202f91c26f803dd557dc0d4ef6e3786c8c4053e997a4c0abe10c8cfeb2 |
|
MD5 | fd2b7a769213e81e4596eba98bb7f8da |
|
BLAKE2b-256 | f4f8b0fd8618c43c247a5af85958559eaa90e09d56095384bdc4801a6724e63b |