Closed jbachhardie closed 7 years ago
Okay, figured out you can add @moduletag :tag
to the *.exs
files, but it would still be better to have the gherkin tags translate into ExUnit tags so we can run/not run specific scenarios.
Hmmm, yeah this is an interesting feature. I have added to automatically tag it as :integration
(here https://github.com/cabbage-ex/cabbage/blob/master/lib/cabbage/feature.ex#L187) so thats one way in the mean time you can target them.
Implementing in #34 ... see comment in #35
These features are very useful to define which tests to run in a specific situation through the exclude/include/only arguments to mix test. It would be good to be able to have some way of tagging the tests produced by cabbage, maybe through translating gherkin tags into ExUnit tags.
This might be already implemented but I can't find anything in the documentation.