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.8.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 6100c0412f7708d0cc9b8a9b2b98b02adaca0a251c703ac2973a7e2705aef81e |
|
MD5 | d8c151b82d15f5273fdd6d57edb58c06 |
|
BLAKE2b-256 | 7d3d5855422f4f32c5a02956a75c5e562b7adfaa5ab85f78a65132911716e4bd |
Close
Hashes for pytest_cmdline_add_args-1.8-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | e733316d38202288d8dcf41b4c437203d88b514669c948a34a41ea479a28e3cf |
|
MD5 | fc26547644158a0040afd0883b6714b5 |
|
BLAKE2b-256 | 01244d91dd32a4c56465a759226571570d2a19fc7210b6c857703b06e88e11b0 |