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.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 9ad87f9c6a9c9b495aa1708255c698196d0c7c953a7e27e27439a7188a068729 |
|
MD5 | 9336aa2767f4d6ea3ff2129f013f4a35 |
|
BLAKE2b-256 | 11079540cc1c3f62f6ba4d7106fd69c74a4c884acbd9c372a88b5b9d7457260b |
Close
Hashes for pytest_cmdline_add_args-1.9-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 02c7534fcd05e3e4113663a6e98326846aafb0fc23386c26fb630c27e1ee3fc4 |
|
MD5 | 0daae2b07381b04b90237d79042683ee |
|
BLAKE2b-256 | 78ce5ef7e30c218b42bc14bdfde2bda8e27f1d25751e50787a58bb18dbd58933 |