Skip to main content

Vedro Advanced Tags

Codecov PyPI PyPI - Downloads Python Version

(!) Starting from Vedro v1.10, the default Tagger plugin supports boolean logic in tags. Therefore, you don't need to install vedro-advanced-tags if you're using Vedro version 1.10 or later. You can use the boolean logic in tags in the same way as in vedro-advanced-tags.

Installation

Quick

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

$ vedro plugin install vedro-advanced-tags
$ vedro plugin disable vedro.plugins.tagger

Manual

To install manually, follow these steps:

  1. Install the package using pip:
$ pip3 install vedro-advanced-tags
  1. Next, activate the plugin in your vedro.cfg.py configuration file:
# ./vedro.cfg.py
import vedro
import vedro.plugins.tagger as tagger
import vedro_advanced_tags as adv_tagger

class Config(vedro.Config):

    class Plugins(vedro.Config.Plugins):

        class Tagger(tagger.Tagger):
            enabled = False  # disable default tagger

        class VedroAdvancedTags(adv_tagger.VedroAdvancedTags):
            enabled = True

Usage

First, add tags to your scenarios:

import vedro

class Scenario(vedro.Scenario):
    subject = "register user"
    tags = ["P0", "API"]

Then, you can run scenarios with specific tags.

AND

To run scenarios that include both specified tags, use the and operator:

$ vedro run --tags "P0 and API"

OR

To run scenarios that contain either of the specified tags, use the or operator:

$ vedro run --tags "API or CLI"

NOT

To run scenarios that do not include a specific tag, use the not operator:

$ vedro run --tags "not P0"

EXPR

To run scenarios that meet multiple conditions, use expressions.

For instance, to execute scenarios that either include the API or CLI tag, and do not include the P0 tag, you can use:

$ vedro run --tags "(API or CLI) and (not P0)"

Metadata

Release files for vedro-advanced-tags 0.2.1

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for vedro-advanced-tags 0.2.1
File Size Uploaded Provenance Actions
vedro_advanced_tags-0.2.1.tar.gz 10.6 kB Without provenance Details for vedro_advanced_tags-0.2.1.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for vedro-advanced-tags 0.2.1
File Interpreter ABI Platform Actions
vedro_advanced_tags-0.2.1-py3-none-any.whl Python 3 none any Details for vedro_advanced_tags-0.2.1-py3-none-any.whl

Total release size: 19.8 kB

Release files / vedro_advanced_tags-0.2.1.tar.gz

Download URL vedro_advanced_tags-0.2.1.tar.gz
Size 10.6 kB
Tags Source
SHA-256 checksum
How to use checksums
021e1c354158bed01171c75bab53a07adad4a445625be2342d53e06e3bdaed27
BLAKE2b-256 checksum
How to use checksums
3304f85d10ad15cda23548a811f8caa75fc4dcc3aee1ebf9974681553aec4b38
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/5.1.1 CPython/3.10.15

Release files / vedro_advanced_tags-0.2.1-py3-none-any.whl

Download URL vedro_advanced_tags-0.2.1-py3-none-any.whl
Size 9.2 kB
Tags Python 3
SHA-256 checksum
How to use checksums
ec461729ee1e1a0e1ed6805720ec0b1f76532c6c4548eec2fca552576b66dbbb
BLAKE2b-256 checksum
How to use checksums
62128a4c35e3d892a52b0496f50010b3b7e22d748f099aefb2aa18850f6d9f87
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/5.1.1 CPython/3.10.15

Security for vedro-advanced-tags 0.2.1

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page