Skip to content

mytestopia/vedro-gitlab-reporter

 
 

Repository files navigation

Vedro GitLab Reporter

Codecov PyPI PyPI - Downloads Python Version

GitLab (>=12.0) reporter with collapsable sections for Vedro framework

Installation

Quick

For a quick installation, you can use a plugin manager as follows:

$ vedro plugin install vedro-gitlab-reporter

Manual

To install manually, follow these steps:

  1. Install the package using pip:
$ pip3 install vedro-gitlab-reporter
  1. Next, activate the plugin in your vedro.cfg.py configuration file:
# ./vedro.cfg.py
import vedro
import vedro_gitlab_reporter

class Config(vedro.Config):

    class Plugins(vedro.Config.Plugins):

        class GitlabReporter(vedro_gitlab_reporter.GitlabReporter):
            enabled = True

Usage

Run tests

$ vedro run -r gitlab --gitlab-collapsable steps

Documentation

--gitlab-collapsable=<mode>

Mode Description
steps Show exception and collapsable steps
vars Show exception, steps and collapsable variables
scope Show exception, steps and collapsable scope

About

GitLab reporter with collapsable sections for Vedro framework

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Python 96.5%
  • Makefile 3.5%