Pytest plugin for custom argument handling and Allure reporting. This plugin allows you to add arguments before running a test.
Project description
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 = "chrome"
- CREATE_ALLURE_REPORT = True
- If you are going to run tests using GitHub actions, then you need to specify the name of your project:
- env:
- PROJECT_NAME: project_name
- env:
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
Close
Hashes for pytest_cmdline_add_args-1.9.3.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | f20e2f50772080374df2ffe3b589546815b0bbcdcdc14b743eebda72bbc598c6 |
|
MD5 | ff619390ed98b26d741764c1f133b560 |
|
BLAKE2b-256 | 3ed319f141548dc6adfb5de24d9e04d3dddda22785e30ff2722f7dfdecc4514a |
Close
Hashes for pytest_cmdline_add_args-1.9.3-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 2e0676dc33be50c60d7041cc56cc58ac9065ba30b87f47912fad052a945b144e |
|
MD5 | d7021e6770725ecd7453d3a1c5b425eb |
|
BLAKE2b-256 | 72e3215093b96ab1047d6f181ee725142a390fa1ad63ea99a5d0ca4ebd8c832d |