Skip to content
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

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

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

Comments

@alexeyhimself
Copy link

@alexeyhimself 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

This comment has been minimized.

Copy link
Member

@jgebal jgebal commented Oct 20, 2019

This seems like duplicate of #983

@alexeyhimself

This comment has been minimized.

Copy link
Author

@alexeyhimself alexeyhimself commented Oct 20, 2019

@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
Projects
None yet
2 participants
You can’t perform that action at this time.