Skip to content

Add "except tags" or "skip tags" #1007

Description

@alexeyhimself

A problem
When you have tests for example "not for production environment", then how not to run them on production environment using annotation tags? There is no way, because there are "tags", but there are no "except tags":

--%tags(not_for_production)
select * from table(ut.run(a_tags => ?));

Suggested solution
Introduce "a_skip_tags":

--%tags(not_for_production)
select * from table(ut.run(a_skip_tags => 'not_for_production'));

Workaround
Now I can only to put such "non-production" tests in a separate folder or in a separate branch.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions