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.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 503e420adb1c83e5da6596f767c3c5e224b8596922756551bd97aa96175119e4 |
|
MD5 | d2208c556be7374cff83c59d0ad53e34 |
|
BLAKE2b-256 | 37e2969624fd6f4705bc918e1bc1146b94f7385fc6045bff3aba3ca4551910a0 |
Close
Hashes for pytest_cmdline_add_args-1.7-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | d13d2d2d2f94364324703c374bfde207ccac8c89065c8c5a39739446db6c57f3 |
|
MD5 | d5bd57c8ad40d61cba615188dc47b42f |
|
BLAKE2b-256 | 7b8a889b054daa25c944ef448e6d4fcd20d2b4e9cc3b85c49941b979561d0dc4 |