MyPost / cupickle

Cucumber + Clojure - Now with namespaces!
Apache License 2.0
2 stars 1 forks source link

Need to handle @tags properly #3

Open WhittlesJr opened 6 years ago

WhittlesJr commented 6 years ago

It's possible that the Cucumber spec has changed since this was written, but these days, tags denoted by an @ sign can be referenced in the invocation of cucumber to limit the tests that are run to only those tests which contain the tag(s) given.

https://github.com/cucumber/cucumber/wiki/Tags

sordina commented 6 years ago

Although we may be able to extend cupickle's parser to handle this without too much trouble, the best course of action is probably to depend on another gherkin parser if it exists, since mine is quite hacky and isn't very actively maintained (as you can tell!). When I created this lib there weren't many good options but it's been a couple of years, so there might be some decent parsers now!

sordina commented 6 years ago

A good first step would be to add a failing test.

WhittlesJr commented 6 years ago

lein-cucumber / cucumber-jvm is really good. The problem I had was that I was having trouble making cucumber tests a part of the executable, rather than just a lein task. (My application is an automated test system).

WhittlesJr commented 6 years ago

lein-cucumber / cucumber-jvm is really good. The problem I had was that I was having trouble making cucumber tests a part of the executable, rather than just a lein task. (My application is an automated test system).