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 pytest-cmdline-add-args 1.9.5
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| pytest_cmdline_add_args-1.9.5.tar.gz | 3.2 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| pytest_cmdline_add_args-1.9.5-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 7.4 kB
Release files / pytest_cmdline_add_args-1.9.5.tar.gz
| Download URL | pytest_cmdline_add_args-1.9.5.tar.gz |
|---|---|
| Size | 3.2 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
2c5b78f4f345215d080a8ffe1869c41ec08498281546c40e41a6a8ed072f560b
|
|
BLAKE2b-256 checksum How to use checksums |
38bdf62da4da76bb387c849b018414e7e8b49afbbba8428d6843d3f423a5c3ed
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/5.1.1 CPython/3.10.11
|
Release files / pytest_cmdline_add_args-1.9.5-py3-none-any.whl
| Download URL | pytest_cmdline_add_args-1.9.5-py3-none-any.whl |
|---|---|
| Size | 4.2 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
3197da17d3a927af908623eeb864566fe7543ab6de02d4d0d5ea6b311a27023d
|
|
BLAKE2b-256 checksum How to use checksums |
a9836b0491f2c84f5973ef486e260711b579fde5ec2ce14dacdf0851e4b0a2d6
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/5.1.1 CPython/3.10.11
|