Allure reporter for Vedro framework
Project description
Vedro Allure Reporter
Allure reporter for Vedro framework
Installation
1. Install package
$ pip3 install vedro-allure-reporter
2. Enable plugin
# ./vedro.cfg.py
import vedro
import vedro_allure_reporter as allure_reporter
class Config(vedro.Config):
class Plugins(vedro.Config.Plugins):
class AllureReporter(allure_reporter.AllureReporter):
enabled = True
Usage
Run tests
$ vedro run -r allure --allure-report-dir ./allure_reports
Generate report via Allure command-line tool
$ allure serve ./allure_reports
Upload report to Allure TestOps
$ export ALLURE_ENDPOINT=<endpoint>
$ export ALLURE_PROJECT_ID=<project_id>
$ export ALLURE_TOKEN=<token>
$ export LAUNCH_ID=`allurectl launch create --launch-name test --no-header --format ID | tail -n1`
$ allurectl upload ./allure_reports --launch-id $LAUNCH_ID
$ allurectl launch close $LAUNCH_ID
Docs — https://docs.qameta.io/allure-testops/quickstart/qa-auto/
Documentation
Custom Labels
# ./vedro.cfg.py
import vedro
import vedro_allure_reporter as allure_reporter
from vedro_allure_reporter import AllureLabel
class Config(vedro.Config):
class Plugins(vedro.Config.Plugins):
class AllureReporter(allure_reporter.AllureReporter):
enabled = True
labels = [
AllureLabel("project_name", "vedro-allure-reporter")
]
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 vedro-allure-reporter-1.3.0.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | fe594fb5284ccf1df19c2ed5995eacd368d58352658f2813445ab785a12f0911 |
|
MD5 | 85412b6a76116d3f86187a8b142862ca |
|
BLAKE2b-256 | 0d5a6da4941f2cfdba9207f3df689b3d323d886ee0d8e0cf36c47f965ffae0e9 |
Close
Hashes for vedro_allure_reporter-1.3.0-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | af424554a36d2ffb75349916cc45c1fb86e8711f9faffe83d17b4686b0eea259 |
|
MD5 | d56d72894f85d67f058838e44c1b6881 |
|
BLAKE2b-256 | 310a5cf6d5f8d6cfc04ce2fa1a40af9ad61e77b7d325f3bd5bdc7145c7209413 |