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 ALLURE_REPORT_PATH and CREATE_ALLURE_REPORT variables will be specified e.g:
- CREATE_ALLURE_REPORT = get('CREATE_ALLURE_REPORT', True)
- ALLURE_REPORT_PATH = f'{current_directory}/allure-results/browser_name'
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.7.2.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | a788818c0b5730d0531f269a4d4c0a1e6cda9b882ad3502fb029d9e3908f1740 |
|
MD5 | d86f64e966b6ac1b9ce871fd09fe9c72 |
|
BLAKE2b-256 | 8750368ca1b1565f67c80a0af0e5d1eafc2f3335f2e5aa19fe6a1a11e69c193f |
Close
Hashes for pytest_cmdline_add_args-1.7.2-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | a34b98aa3c6c955f72bc1203e5b540f091f277d77ea93880e0f57d3c8dc70b3f |
|
MD5 | f3b735c08539773a7dd60ac3dbd9bb6c |
|
BLAKE2b-256 | 218812852bebfd8a5caab06a41096a303b886e2998e7cf6e25d998728d40507a |