go-bdd / gobdd

BDD framework
https://go-bdd.github.io/gobdd/
MIT License
115 stars 19 forks source link

Simplify WithTags and WithIgnoredTags arguments #135

Closed mirogta closed 3 years ago

mirogta commented 3 years ago

Is your feature request related to a problem? Please describe. I'd like to simplify passing tags to WithTags and WithIgnoredTag. I only pass a single tag in most of my use cases, so it would be nicer if the functions are varadic.

Describe the solution you'd like

Use gobdd.WithTags("wip") instead of gobdd.WithTags([]string{"wip"})

Describe alternatives you've considered N/A

Additional context N/A