Thanks to visit codestin.com
Credit goes to github.com

Skip to content

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

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
alexeyhimself opened this issue Oct 20, 2019 · 2 comments
Closed

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

alexeyhimself opened this issue Oct 20, 2019 · 2 comments

Comments

@alexeyhimself
Copy link

alexeyhimself commented Oct 20, 2019

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.

@jgebal
Copy link
Member

jgebal commented Oct 20, 2019

This seems like duplicate of #983

@alexeyhimself
Copy link
Author

@jgebal, true. It's a duplicate, but with a different suggested solution.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants