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 = get("BROWSER", "chrome")
- CREATE_ALLURE_REPORT = get('CREATE_ALLURE_REPORT', True)
- In this folder, create an env.py file in which the BROWSER and CREATE_ALLURE_REPORT variables will be
specified
e.g:
- If you are going to run tests using GitHub actions, you need to specify the name of your project in workflow:
- env:
- PROJECT_NAME: project_name
- env:
Release files for cmdline-add-args 1.9.6
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| cmdline_add_args-1.9.6.tar.gz | 3.1 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| cmdline_add_args-1.9.6-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 7.2 kB
Release files / cmdline_add_args-1.9.6.tar.gz
| Download URL | cmdline_add_args-1.9.6.tar.gz |
|---|---|
| Size | 3.1 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
24d75b0dd8011ff391881ab8ce18af63231e844424cd2ce881be6464fee047b9
|
|
BLAKE2b-256 checksum How to use checksums |
41138bd69bf08288ab3a3b747c9d1a8b22bdaca331d8851593878edf00d404b2
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.1.0 CPython/3.10.11
|
Release files / cmdline_add_args-1.9.6-py3-none-any.whl
| Download URL | cmdline_add_args-1.9.6-py3-none-any.whl |
|---|---|
| Size | 4.1 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
e09cb465e3667ac1dddfd7ee64c71483018dc676cf8ba2e23664b94d4bcb2ebd
|
|
BLAKE2b-256 checksum How to use checksums |
a8e3afc0fb4abfbcef208dbc68a490df4c710408b353ad2a2adc71ff9b380a59
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.1.0 CPython/3.10.11
|