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 BROWSER and CREATE_ALLURE_REPORT variables will be specified e.g:
- BROWSER = "chrome"
- CREATE_ALLURE_REPORT = True
- If you are going to run tests using GitHub actions, then you need to specify the name of your project:
- env:
- PROJECT_NAME: project_name
- env:
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.9.2.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | c2fd16985c0eff1063732a27b2192a7b66ac22022ef22e8c8cac1b781c363eb6 |
|
MD5 | 982320c65863ed9f76360e474fb5f6f1 |
|
BLAKE2b-256 | 64acc866fb4243bc60b477735cfa7097b0f3ba1f2c989a3559a66a88abb7b1e3 |
Close
Hashes for pytest_cmdline_add_args-1.9.2-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | c7b4ae6c443847aec635c00ad93a3d6bb4a47958f0449490d8545fddfa65a4ab |
|
MD5 | 6d08e583a1ed783ee404dffecae9db65 |
|
BLAKE2b-256 | 37e94e4e6332ac97d0ffbfce60c7dda40941580d43c59f948dfa7e57f864c6bc |