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.1.0.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 6fabc8929e3b40033001f3e484401211ad128d729863aef8aad56557af08c1b7 |
|
MD5 | 5d802ce16bdcb413ccc203ad3c7e95c3 |
|
BLAKE2b-256 | a403c51824fd28b81515682d33d61d0ededd37cafad1560a42ced4d2a258a02d |
Close
Hashes for vedro_allure_reporter-1.1.0-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 60831894a368757832da3bff9a3d4b1ca2a681f6170c98905772e911230ea210 |
|
MD5 | eaa47ede6ba77b8b476a17902bd95ab3 |
|
BLAKE2b-256 | 5f8bf1162f4502ba2df0485b057ef65714485291387c7995fd7451ac38f169c2 |