Skip to main content

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 API Security 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

pytest-peach-1.5.41.tar.gz (4.7 kB view details)

Uploaded Source

Built Distribution

pytest_peach-1.5.41-py2.py3-none-any.whl (5.5 kB view details)

Uploaded Python 2 Python 3

File details

Details for the file pytest-peach-1.5.41.tar.gz.

File metadata

  • Download URL: pytest-peach-1.5.41.tar.gz
  • Upload date:
  • Size: 4.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.13.0 pkginfo/1.5.0.1 requests/2.21.0 setuptools/40.8.0 requests-toolbelt/0.9.1 tqdm/4.31.1 CPython/2.7.15

File hashes

Hashes for pytest-peach-1.5.41.tar.gz
Algorithm Hash digest
SHA256 101e6e93b46f0e0cbc4ee472ec7e39efa2d50f9788f2ef27b50e4532d7ab67bc
MD5 95cca29bf578acb9ac9a920e6e06dca8
BLAKE2b-256 89d80d7b279c0fe9ded3a3bbaefb5e45555825668170e535f78dcab26fef4650

See more details on using hashes here.

File details

Details for the file pytest_peach-1.5.41-py2.py3-none-any.whl.

File metadata

  • Download URL: pytest_peach-1.5.41-py2.py3-none-any.whl
  • Upload date:
  • Size: 5.5 kB
  • Tags: Python 2, Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.13.0 pkginfo/1.5.0.1 requests/2.21.0 setuptools/40.8.0 requests-toolbelt/0.9.1 tqdm/4.31.1 CPython/2.7.15

File hashes

Hashes for pytest_peach-1.5.41-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 ecead7b698d44ed78439ef124df6cbb82df660d79efabb99f8e8e2a7913dcfbf
MD5 7aa8944ba2ea898e2191c8b8886542f4
BLAKE2b-256 60712132c218ac0b3bd58533fa7fb8becd77b8c4aca6abeb08562897b991e75f

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