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.1.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | a8af85d605f0c7171129872ac77d3b947a1208c864b03f881d03a83a72bb2681 |
|
MD5 | 4a35745a9f75c4ab1bc87f84ede467e8 |
|
BLAKE2b-256 | fce203c3eb75b9cbdd86a7aa8f30ef97b930c16034fbbb24e65512e42ce3dd15 |
Close
Hashes for pytest_cmdline_add_args-1.7.1-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | f2ef49d2d461ef44da8ab95fb9d079d66c803cd1b14168c2e0a12d3a4a3701f2 |
|
MD5 | 3e5e62a4005a98e15f5e994ebe57f719 |
|
BLAKE2b-256 | 9ed2aec0de3fa343ec059b8866c8ba613dab10f12d2cdc033692301105902910 |