Skip to main content

Pytest hook for custom argument handling and Allure reporting. This plugin allows you to add arguments before running a test.

Project description

cmdline-preparation-hook

Pytest hook for custom argument handling and Allure reporting. This plugin allows you to add arguments before running a test.

The hook is written to update Pytest library to replace the old fixture:

@pytest.hookimpl(tryfirst=True)
def pytest_cmdline_preparse(args):

For local installation, open a terminal in the root folder and run the following commands in sequence:

  • cd pytest_hook
  • pip install -e .

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

cmdline_preparation_hook-3.1.3.tar.gz (2.8 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

cmdline_preparation_hook-3.1.3-py3-none-any.whl (3.6 kB view details)

Uploaded Python 3

File details

Details for the file cmdline_preparation_hook-3.1.3.tar.gz.

File metadata

  • Download URL: cmdline_preparation_hook-3.1.3.tar.gz
  • Upload date:
  • Size: 2.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.10.11

File hashes

Hashes for cmdline_preparation_hook-3.1.3.tar.gz
Algorithm Hash digest
SHA256 1abe84860704e1ef9a24a0a9f0e4256ddc80664b3a6932793ea2c4025e036873
MD5 47c350c647cc0acf78ce0b1492645ad0
BLAKE2b-256 0539fcf4724ac62f44ec444c6e272657a28c706e807b4667a13fde445fa6f815

See more details on using hashes here.

File details

Details for the file cmdline_preparation_hook-3.1.3-py3-none-any.whl.

File metadata

File hashes

Hashes for cmdline_preparation_hook-3.1.3-py3-none-any.whl
Algorithm Hash digest
SHA256 2575ab1c4e96972b052a551425068c4249742db661865f60eec7dcc0b0ab8946
MD5 39f4e914d6300b06733b0e38725fd458
BLAKE2b-256 a077e0596b5cd4b156c7c2da63679f2902728fe31f86c4ab547923cb215c6a04

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page