Skip to main content

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. Below are some tips on developing nose-launchable plugin.

Install nose-launchable locally

If you want to see whether your changes work as expected, run the following command to install the plugin locally.

$ python setup.py install

Release nose-launchable

  1. (Optional) Run ./scripts/update_readme.sh if you updated README.md

  2. Run ./scripts/bump_up.sh and update nose_launchable/version.py

  3. Create a Pull Request and merge that

  4. Create a new GitHub release then the new package will be automatically uploaded to PyPI

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

nose_launchable-0.6.0.tar.gz (17.9 kB view details)

Uploaded Source

Built Distribution

nose_launchable-0.6.0-py3-none-any.whl (21.1 kB view details)

Uploaded Python 3

File details

Details for the file nose_launchable-0.6.0.tar.gz.

File metadata

  • Download URL: nose_launchable-0.6.0.tar.gz
  • Upload date:
  • Size: 17.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.0.0 CPython/3.12.2

File hashes

Hashes for nose_launchable-0.6.0.tar.gz
Algorithm Hash digest
SHA256 06bf201d5b4ed74dd652560fac64cef9bebfa9101daf12614f24e7d0bb539d09
MD5 6fcce13e24e5a649719450b877e2d17f
BLAKE2b-256 2f924b55779f152f8840c70ab99ef5db39f456adeed405df243cba68b31819f3

See more details on using hashes here.

File details

Details for the file nose_launchable-0.6.0-py3-none-any.whl.

File metadata

File hashes

Hashes for nose_launchable-0.6.0-py3-none-any.whl
Algorithm Hash digest
SHA256 fc72d5340532701dd156d3633578ce061d2e9f38c8b5b06a7f71b156d39f2a21
MD5 8d93bbae1694c4a539be21b6f7750d0f
BLAKE2b-256 25a3d3ee5e361b25cc727c2735609f2c02190e54a5920955e5a6fedcc321f048

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page