Closed mva closed 11 years ago
Thanks for reporting this, Michael. Seems to be a problem with PrettyFormatter in general (which, to make things worse, is used internally in addition to any formatter you specify at the command line). I will have a look at this as soon as possible.
In the meantime, I'll push a branch with a workaround (you will have to specify a formatter other than PrettyFormatter at the command line, tho).
Have a look at https://github.com/nilswloka/lein-cucumber/tree/upgrade-dependencies. It uses cucumber-clojure 1.1.3 and should work for you until I fixed the PrettyFormatter problem. You will need to specify a formatter with -f <formatter>
.
Okay, we're running into https://github.com/cucumber/gherkin/pull/252 here. Until that one is merged and made its way into cucumber-jvm, I don't think I can do anything about the error you're experiencing.
If you don't actually need version 1.1.3 of cucumber-jvm (and there are no new features in the Clojure module that I'm aware of), your best bet is staying with the last working version.
I'll close this issue for now.
Thanks Nils for tracking down the root cause. Confirmation that this issue is not caused by my setup helps me a lot. I stumbled across this particular problem while trying to work around another exception with stock lein-cucumber 1.0.2. I'll open another ticket for this.
When I upgrade the cucumber-clojure dependency to 1.1.3 (as in https://github.com/mva/lein-cucumber), the
lein cucumber
run crashes while trying to print out the first part of the report.The stacktrace is quite long and ends with this:
Does anyone see the same crash with lein-cucumber and cucumber-clojure 1.1.3?