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_cmdline
  • 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.2.tar.gz (2.9 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.2-py3-none-any.whl (3.7 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: cmdline_preparation_hook-3.1.2.tar.gz
  • Upload date:
  • Size: 2.9 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.2.tar.gz
Algorithm Hash digest
SHA256 e8426745bfcb360b726aabf9ec6d4a6a9482ebe4e689a15b2f6abfb0cdc9dba7
MD5 dc48daf39dc033333620b2c983eb07a9
BLAKE2b-256 0ba3ff0dc562f1da6fa688172acf3d1c4d82e60ac168334c2ab85205b63f21ad

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for cmdline_preparation_hook-3.1.2-py3-none-any.whl
Algorithm Hash digest
SHA256 b48aaa22a25a2240086470b8b76dc28137da15d44a20ac1a4f6bab9515859d6d
MD5 db5d1581e902e0b67ce3f87e236e56db
BLAKE2b-256 bc7d46ef4007ebb828b5ab0053eb10b8cc8f24c8d245997ea74ce153543a865d

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