Skip to main content

GitLab reporter with collapsable sections for Vedro framework

Project description

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

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

vedro-gitlab-reporter-2.1.1.tar.gz (11.5 kB view hashes)

Uploaded Source

Built Distribution

vedro_gitlab_reporter-2.1.1-py3-none-any.whl (9.7 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page