pytest plugin for fuzzing with Peach API Security
Project description
pytest-peach is a plugin for py.test that integrates with Peach API Security. Integration includes calling the correct Peach Fuzzer APIs to report test names and not fuzzing setup and teardown requests.
Requirements
You will need the following prerequisites in order to use pytest-peach:
Python 2.6, 2.7, 3.2, 3.3, 3.4, 3.5 or PyPy
py.test 2.8 or newer
Requests v2.11 or newer
Installation
To install pytest-peach:
$ pip install pytest-peach
From Source
$ python setup.py install
Usage
The integration is intended to be run from CI integrations such as the generic CI runner. Several environmental variables are expected to have been set:
PEACH_API
PEACH_API_TOKEN
PEACH_SESSIONID
PEACH_PROXY
$ pytest –peach=on test_target.py
Arguments
- –peach=on
This argument enables the pytest Peach API Security extention.
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 pytest_peach-1.2.21-py2.py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 9f19bd10488d4ed5dd6fe6304fcf48603bbcb1c5b3f483c242744ebf6a756b09 |
|
MD5 | a891506776d2094027c4703a8f9628c7 |
|
BLAKE2b-256 | 2b33c942ea526a997ee2cab073517d0f9537303fa44643de252d96cf9c84f229 |