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 r
class Config(vedro.Config):
class Plugins(vedro.Config.Plugins):
class AllureReporter(r.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 r
from vedro_allure_reporter import AllureLabel
class Config(vedro.Config):
class Plugins(vedro.Config.Plugins):
class AllureReporter(r.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.0.0.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 3a6dd24fae4bffd879431fd68402399017485c4ff27f7f2d3248a166e217fbd5 |
|
MD5 | 955e643d3fc0399ea2193df2e60d9356 |
|
BLAKE2b-256 | 72f263b19a4c9450eb5ea9718f61be02b92fc0eaaee713b23692c7d48f8ad371 |
Close
Hashes for vedro_allure_reporter-1.0.0-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 64a0317cf4f7b5b0806937bc924cce63d8fb0baa285d3ee73bfc48b436071b76 |
|
MD5 | 55bdd272d95173295a6272ddc04b9568 |
|
BLAKE2b-256 | eb30f34724c6b2fd9dedf87e7d65165e841d7f08c3bfcf95fe2236cf80cb8021 |