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.1.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | af583327e09d14a96206d8263670a1515611ff2dd750a479c3c5f33f11b433b5 |
|
MD5 | 7ca7f003ccba8b2d6a2e9be525906f35 |
|
BLAKE2b-256 | 7fa858d071ba0c4835af3c22b5a6f947da4541dcc56789b66a418122ea82dec7 |
Close
Hashes for pytest_cmdline_add_args-1.9.1-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 6e893a7791f3b5d57ad480950a2e4792a42ec969dd433f173e7903fc91e91394 |
|
MD5 | 0327a0e65972d001a7a8a8e0057bed37 |
|
BLAKE2b-256 | 5f78b37279df8073eb4144835977e7a962d69619dbb7d5c3a7ef99b6a4ce3e6c |