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

Adding support for boolean expressions #166

Closed
anudeepreddy opened this issue Apr 6, 2022 · 2 comments
Closed

Adding support for boolean expressions #166

anudeepreddy opened this issue Apr 6, 2022 · 2 comments
Labels
enhancement New feature or request

Comments

@anudeepreddy
Copy link
Contributor

Hi @annaet👋,

Thanks for the work you have done on this. I am planning to add support for boolean expressions in parallel to the comma-separated tags that are already supported. With this feature users will be able to provide a config like CYPRESS_INCLUDE_EXPRESSION='smoke AND (my-feature1 OR my-feature2)'. This ability will let users slice the tests more effectively.

I will be adding two more env config variables:

  • CYPRESS_INCLUDE_EXPRESSION
  • CYPRESS_EXCLUDE_EXPRESSION
  • USE_INCLUDE_EXCLUDE_EXPRESSIONS

Please let me know what you think of this proposal and also if there is anything that I have to keep in mind before making any change.

Thanks

@annaet
Copy link
Contributor

annaet commented Apr 6, 2022

Hi @anudeepreddy

That sounds great, thanks for the suggestion. The contribution would be welcome.

@annaet
Copy link
Contributor

annaet commented Aug 2, 2022

Available in v1.0.0 now. Thanks for your contribution!

@annaet annaet closed this as completed Aug 2, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants