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.5.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 139c70860d7b24a40d7433e1a867255418c310805c43346a39bfca03f3fbd8de |
|
MD5 | 67e951af034d02e43b4031aa1ff85b03 |
|
BLAKE2b-256 | 5043e807a246430500f44ad6744d33c33f89c0e1ae3fd691281c1c916767d276 |
Close
Hashes for pytest_cmdline_add_args-1.7.5-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 07b57daa743c842db2193203137b1ac20dd62c06257f089c4fc2dc561d1f01ca |
|
MD5 | 7880119ab066114b8243c1ad432b3f2a |
|
BLAKE2b-256 | bd00165c6ea68396ded7f01199c1db65d10cd4522ec8bf9502e0e203532c8b0d |