{"categories":[{"label":"Python Modules","url":"https://skillfed.io/packages/category/software-development-libraries-python-modules/5"},{"label":"Testing","url":"https://skillfed.io/packages/category/software-development-testing"}],"enrichment":{"capability":"Parses and evaluates boolean tag expressions (using and, or, not operators) to select Gherkin scenarios and features based on their tags, commonly used by BDD test runners like behave.","skillfed_tags":["bdd-testing","gherkin","tag-filtering"],"use_cases":["Filter which test scenarios to run in CI/CD pipelines by tag expression (e.g., run only @smoke tests on every commit).","Locally run a subset of scenarios during development using tag expressions (e.g., `@wip and not @slow`).","Implement custom test selection logic in a test harness that needs to parse and evaluate tag-based filters.","Build a test reporting or filtering tool that accepts user-supplied tag expressions to organize test results.","Enforce test categorization in BDD frameworks by evaluating which scenarios match complex tag criteria."],"what_it_does":"Cucumber Tag Expressions is a parser and evaluator for boolean tag expressions used in Gherkin-based BDD testing. It takes a human-readable expression like `@fast and not @slow` or `(@login or @registration) and @critical`, parses it into an evaluable form, and then checks whether a given set of tags satisfies that expression. The package has no runtime dependencies and is designed to integrate with test runners like behave, which use tag expressions to filter which scenarios to execute.\n\nThe typical workflow is: a test runner receives a tag expression from the command line (e.g., `--tags=\"@smoke and not @wip\"`), passes it to this package's `parse()` function, and then evaluates the resulting object against the tags on each scenario. It supports the full boolean algebra of `and`, `or`, and `not` operators, with parentheses for grouping, making it possible to express complex filtering logic in a readable, declarative way.","worth_installing":"Yes. This is a lightweight, actively maintained library with zero dependencies, permissive licensing, and a clear, focused purpose. Install it if you are building or using a Gherkin-based BDD test runner (such as behave) or need to parse and evaluate tag expressions for test selection. No security vulnerabilities are known."},"id":"cucumber-tag-expressions","links":{"html":"https://skillfed.io/packages/cucumber-tag-expressions","md":"https://skillfed.io/packages/cucumber-tag-expressions.md","pypi":"https://pypi.org/project/cucumber-tag-expressions/"},"maintenance":{"status":"active"},"meta":{"latest_release":"2026-08-05","license_spdx":"MIT","license_treatment":"permissive","name":"cucumber-tag-expressions","python_support":"supports_current","summary":"Provides a tag-expression parser and evaluation logic for cucumber/behave"},"popularity":{"monthly_downloads":3760567,"position":2502,"tier":"top_5000"},"security":{"n_vulnerabilities":0},"version":"11.0.1"}
