erikedin / Behavior.jl

Tool for Behavior Driven Development in Julia
Other
25 stars 3 forks source link

Possibility to use more than one tag #84

Closed FrankUrbach closed 2 years ago

FrankUrbach commented 3 years ago

It would be more convenient if it would be possible to use more than one tag. The scenario what I have in mind is to use an @actual tag for working on one particular tag. Besides this it should be possible to use more then one tag to in- or exclude.

mkschulze commented 3 years ago

Would that be covered within this issue maybe? #70

FrankUrbach commented 3 years ago

Yes. This could be worked out under this issue.

erikedin commented 3 years ago

I think this issue would be good. The issue #70 was actually far too big.

It's a fairly easy thing to accomplish more than one tag, so I'll make sure to prioritize it.

erikedin commented 3 years ago

With this latest commit you should be able to use tag expressions like

@tag1,@tag2

which would find all scenarios with either @tag1 or @tag2. You can also say

not @ignore,@ignore-other

which will find all scenarios except those with @ignore or @ignore-other tags. Let me know if this works better for you.

This was just a quick improvement I did. I still only support the two types of expression above. No support for more complex expressions like

@foo,not @bar

yet, but it's coming.

FrankUrbach commented 2 years ago

works like it should be. We can close the issue.