Skip to content
This repository has been archived by the owner on May 1, 2024. It is now read-only.

Support filtering the report with Wildcards #65

Closed
jkuester opened this issue Jan 7, 2021 · 2 comments · Fixed by #66
Closed

Support filtering the report with Wildcards #65

jkuester opened this issue Jan 7, 2021 · 2 comments · Fixed by #66

Comments

@jkuester
Copy link
Collaborator

jkuester commented Jan 7, 2021

Currently CFRG only supports filtering the report by a single tag. #39 has been logged to eventually support expanding that functionality to include additional tags.

It would also be nice to be able to use a wildcard (*) that would be able to match a range of tags when filtering. (e.g. if you have scenarios tagged with dog_walking and others tagged with dog_eating, then it would be nice to be able to filter the report with dog* and have all those scenarios included in the report.

@TobiTenno
Copy link
Member

implementation-wise, i think the simplest way to support this would be to see if the string ends in *. if it doesn't then use string.startsWith instead of string === for matching

@github-actions
Copy link
Contributor

github-actions bot commented Apr 6, 2021

🎉 This issue has been resolved in version 1.5.0 🎉

The release is available on:

Your semantic-release bot 📦🚀

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

Successfully merging a pull request may close this issue.

2 participants