Skip to main content

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

nose-reorder-0.0.2.tar.gz (8.4 kB view hashes)

Uploaded Source

Built Distribution

nose_reorder-0.0.2-py3-none-any.whl (9.1 kB view hashes)

Uploaded Python 3

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