Welcome, guest | Sign In | My Account | Store | Cart

Notice! PyPM is being replaced with the ActiveState Platform, which enhances PyPM’s build and deploy capabilities. Create your free Platform account to download ActivePython or customize Python with the packages you require and get automatic updates.

Download
ActivePython
INSTALL>
pypm install hindsight

How to install hindsight

  1. Download and install ActivePython
  2. Open Command Prompt
  3. Type pypm install hindsight
 Python 2.7Python 3.2Python 3.3
Windows (32-bit)
Windows (64-bit)
Mac OS X (10.5+)
Linux (32-bit)
Linux (64-bit)
0.1.7 Available View build log
0.1.7 Available View build log
 
Author
License
MIT License
Dependencies
Imports
Lastest release
version 0.1.7 on Sep 20th, 2013

This client provides access to Behave for Jira in a Python environment. It uses a HTTP GET call to download a compressed stream containing the feature files for the specified project, and then unzips the features into the specified directory.

Installation

If using pip, simply:

pip install hindsight

If installing manually, grab the tarball below and extract to a temporary directory. Make sure the requests package is installed and available, and then run:

python setup.py install

from inside the temporary directory

Usage

Within a script:

#!/usr/bin/env python

from hindsight.behave import JiraConnector

b4j = JiraConnector()
b4j.fetch(
    host='http://localhost:2990/jira',
    username='behaver',
    password='atdd4me',
    key='PROJ',
    dir='features',
    manual=True,
    verify=False
)

This take mandatory arguments host and key, and the rest are optional.

Or the same request from the command line (if you installed via pip):

behave-cli -u behaver -p atdd4me -d features -m http://localhost:2990/jira PROJ

Taking the form:

behave-cli [-u USERNAME] [-p PASSWORD] [-d DIR] [-m] [--verify] HOST KEY

Field descriptions:

host:      the host URL to the Jira installation running Behave for Jira
username:  username of user with Behave rights on desired project
password:  password for this user
key:       project key to download features for
dir:       directory relative to the script to download features to
           (can also use absolute path)
manual:    flag to include scenarios tagged with manual in the download
verify:    flag to indicate whether to verify the SSL certificate if connecting over SSL
           (only applicable to CA certificates - self signed certificates cannot be verified)

More info

Please see the guide at http://hindsighttesting.com/docs

Subscribe to package updates

Last updated Sep 20th, 2013

Download Stats

Last month:1

What does the lock icon mean?

Builds marked with a lock icon are only available via PyPM to users with a current ActivePython Business Edition subscription.

Need custom builds or support?

ActivePython Enterprise Edition guarantees priority access to technical support, indemnification, expert consulting and quality-assured language builds.

Plan on re-distributing ActivePython?

Get re-distribution rights and eliminate legal risks with ActivePython OEM Edition.