Skip to main content

cmdline-add-args

Pytest plugin for handling and adding command line arguments

This plugin allows you to add custom arguments before running a test and generate Allure reports. It provides a flexible way to inject arguments into Pytest and control the reporting process with Allure.

Features

  • Handling custom arguments
  • Generating Allure reports
  • Easy integration with Pytest

Usage

  • You need to create a config folder at the root of your project
    • In this folder, create an env.py file in which the BROWSER and CREATE_ALLURE_REPORT variables will be specified e.g:
      • BROWSER = get("BROWSER", "chrome")
      • CREATE_ALLURE_REPORT = get('CREATE_ALLURE_REPORT', True)
  • If you are going to run tests using GitHub actions, you need to specify the name of your project in workflow:
    • env:
      • PROJECT_NAME: project_name

Release files for cmdline-add-args 1.9.6

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for cmdline-add-args 1.9.6
File Size Uploaded
cmdline_add_args-1.9.6.tar.gz 3.1 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for cmdline-add-args 1.9.6
File Interpreter ABI Platform
cmdline_add_args-1.9.6-py3-none-any.whl Python 3 none any Details

Total release size: 7.2 kB

Release files / cmdline_add_args-1.9.6.tar.gz

Download URL cmdline_add_args-1.9.6.tar.gz
Size 3.1 kB
Tags Source
SHA-256 checksum
How to use checksums
24d75b0dd8011ff391881ab8ce18af63231e844424cd2ce881be6464fee047b9
BLAKE2b-256 checksum
How to use checksums
41138bd69bf08288ab3a3b747c9d1a8b22bdaca331d8851593878edf00d404b2
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.1.0 CPython/3.10.11

Release files / cmdline_add_args-1.9.6-py3-none-any.whl

Download URL cmdline_add_args-1.9.6-py3-none-any.whl
Size 4.1 kB
Tags Python 3
SHA-256 checksum
How to use checksums
e09cb465e3667ac1dddfd7ee64c71483018dc676cf8ba2e23664b94d4bcb2ebd
BLAKE2b-256 checksum
How to use checksums
a8e3afc0fb4abfbcef208dbc68a490df4c710408b353ad2a2adc71ff9b380a59
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.1.0 CPython/3.10.11

Release history Release notifications | RSS feed

This release

1.9.6 This release

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page