8000 Add "except tags" or "skip tags" · Issue #1007 · utPLSQL/utPLSQL · GitHub
[go: up one dir, main page]

Skip to content
8000
Add "except tags" or "skip tags" #1007
Closed
@alexeyhimself

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.

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

      0