Hindsight Software Python Client
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
Metadata
Release files for hindsight 0.1.7
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| hindsight-0.1.7.tar.gz | 3.3 kB | Without provenance | Details for hindsight-0.1.7.tar.gz |
Release files / hindsight-0.1.7.tar.gz
| Download URL | hindsight-0.1.7.tar.gz |
|---|---|
| Size | 3.3 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
89ee969e4bcbf237328fde7c6a699faacb1cffbc6dc368eeda5801dc1548fe52
|
|
BLAKE2b-256 checksum How to use checksums |
e85a2c0a21931b652c64f66823e9619c32d6463b51a1d4ae9dc3a8bfb6e1fbe5
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
Security for hindsight 0.1.7
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.