Vedro Allure Reporter
Allure reporter for Vedro testing framework.
Installation
Quick
For a quick installation, you can use a plugin manager as follows:
$ vedro plugin install vedro-allure-reporter
Manual
To install manually, follow these steps:
- Install the package using pip:
$ pip3 install vedro-allure-reporter
- Next, activate the plugin in your
vedro.cfg.py
configuration file:
# ./vedro.cfg.py
import vedro
import vedro_allure_reporter
class Config(vedro.Config):
class Plugins(vedro.Config.Plugins):
class AllureReporter(vedro_allure_reporter.AllureReporter):
enabled = True
Usage
To run tests with the Allure reporter, use the following command:
$ vedro run -r rich allure
This command executes your tests and saves the report data in the ./allure_reports
directory.
To generate a report from the saved data, use the Allure command-line tool as follows:
$ allure serve ./allure_reports
This command will serve up the report (demo).
Explore more at https://vedro.io/docs/integrations/allure-reporter