(use 'cucumber.runtime.clojure.belly)

(def some-state (atom "'Before' hasn't run."))

(Before []
  (reset! some-state "'Before' has run.")
  (println "Executing 'Before'."))

(After []
  (println (str "Executing 'After' " @some-state)))

(Given #"^I have (\d+) cukes in my belly$" [cuke-count]
  (eat (Float. cuke-count)))

(Given #"^I have this many cukes in my belly:$" [cuke-table]
  (doseq [x (.raw cuke-table)] (eat (Float. (first x)))))

(When #"^there are (\d+) cukes in my belly$" [expected]
  (assert (= (last-meal) (Float. expected))))
    
(Then #"^the (.*) contains (.*)$" [container ingredient]
  (assert (= "glass" container)))

(When #"^I add (.*)$" [liquid]
  (assert (= "milk" liquid)))

(Given #"^(\d+) unimplemented step$" [arg1]
  (comment  Express the Regexp above with the code you wish you had  )
  (throw (cucumber.runtime.PendingException.)))
(use 'cucumber.runtime.clojure.belly)

(def some-state (atom "'Before' hasn't run."))

(Before []
  (reset! some-state "'Before' has run.")
  (println "Executing 'Before'."))

(After []
  (println (str "Executing 'After' " @some-state)))

(Given #"^I have (\d+) cukes in my belly$" [cuke-count]
  (eat (Float. cuke-count)))

(Given #"^I have this many cukes in my belly:$" [cuke-table]
  (doseq [x (.raw cuke-table)] (eat (Float. (first x)))))

(When #"^there are (\d+) cukes in my belly$" [expected]
  (assert (= (last-meal) (Float. expected))))
    
(Then #"^the (.*) contains (.*)$" [container ingredient]
  (assert (= "glass" container)))

(When #"^I add (.*)$" [liquid]
  (assert (= "milk" liquid)))

(Given #"^(\d+) unimplemented step$" [arg1]
  (comment  Express the Regexp above with the code you wish you had  )
  (throw (cucumber.runtime.PendingException. "This is pending. Seeing a stacktrace here is normal.")))
Add a message ensuring that a stack trace here is normal. At least until stack trace filtering is implemented in the clojure module.
Add a message ensuring that a stack trace here is normal. At least until stack trace filtering is implemented in the clojure module.

sventorben/cucumber-jvm,sghill/cucumber-jvm,guardian/cucumber-jvm,brasmusson/cucumber-jvm,cucumber/cucumber-jvm,flaviuratiu/cucumber-jvm,NickCharsley/cucumber-jvm,Draeval/cucumber-jvm,flaviuratiu/cucumber-jvm,ppotanin/cucumber-jvm,HendrikSP/cucumber-jvm,NickCharsley/cucumber-jvm,dkowis/cucumber-jvm,chiranjith/cucumber-jvm,VivaceVivo/cucumber-mod-DI,PeterDG/cucumberPro,hcawebdevelopment/cucumber-jvm,ppotanin/cucumber-jvm,chiranjith/cucumber-jvm,cucumber/cucumber-jvm,nilswloka/cucumber-jvm,andyb-ge/cucumber-jvm,joansmith/cucumber-jvm,VivaceVivo/cucumber-mod-DI,bartkeizer/cucumber-jvm,chiranjith/cucumber-jvm,ArishArbab/cucumber-jvm,ushkinaz/cucumber-jvm,hcawebdevelopment/cucumber-jvm,HendrikSP/cucumber-jvm,brasmusson/cucumber-jvm,bartkeizer/cucumber-jvm,ArishArbab/cucumber-jvm,PeterDG/cucumberPro,hcawebdevelopment/cucumber-jvm,ppotanin/cucumber-jvm,joansmith/cucumber-jvm,brasmusson/cucumber-jvm,chiranjith/cucumber-jvm,NickCharsley/cucumber-jvm,nilswloka/cucumber-jvm,ushkinaz/cucumber-jvm,Draeval/cucumber-jvm,rlagunov-anaplan/cucumber-jvm,andyb-ge/cucumber-jvm,paoloambrosio/cucumber-jvm,assilzm/cucumber-groovy-seeyon,HendrikSP/cucumber-jvm,guardian/cucumber-jvm,VivaceVivo/cucumber-mod-DI,sghill/cucumber-jvm,ArishArbab/cucumber-jvm,danielwegener/cucumber-jvm,joansmith/cucumber-jvm,danielwegener/cucumber-jvm,cucumber/cucumber-jvm,dkowis/cucumber-jvm,nilswloka/cucumber-jvm,danielwegener/cucumber-jvm,flaviuratiu/cucumber-jvm,PeterDG/cucumberPro,sventorben/cucumber-jvm,joansmith/cucumber-jvm,goushijie/cucumber-jvm,demos74dx/cucumber-jvm,andyb-ge/cucumber-jvm,bartkeizer/cucumber-jvm,chiranjith/cucumber-jvm,ushkinaz/cucumber-jvm,Draeval/cucumber-jvm,ArishArbab/cucumber-jvm,bartkeizer/cucumber-jvm,chrishowejones/cucumber-jvm,flaviuratiu/cucumber-jvm,goushijie/cucumber-jvm,chrishowejones/cucumber-jvm,rlagunov-anaplan/cucumber-jvm,cucumber/cucumber-jvm,bartkeizer/cucumber-jvm,NickCharsley/cucumber-jvm,sventorben/cucumber-jvm,chrishowejones/cucumber-jvm,danielwegener/cucumber-jvm,hcawebdevelopment/cucumber-jvm,NickCharsley/cucumber-jvm,danielwegener/cucumber-jvm,rlagunov-anaplan/cucumber-jvm,DPUkyle/cucumber-jvm,ushkinaz/cucumber-jvm,chiranjith/cucumber-jvm,dkowis/cucumber-jvm,cucumber/cucumber-jvm,sventorben/cucumber-jvm,ushkinaz/cucumber-jvm,rlagunov-anaplan/cucumber-jvm,dkowis/cucumber-jvm,bartkeizer/cucumber-jvm,rlagunov-anaplan/cucumber-jvm,ppotanin/cucumber-jvm,HendrikSP/cucumber-jvm,chrishowejones/cucumber-jvm,flaviuratiu/cucumber-jvm,brasmusson/cucumber-jvm,demos74dx/cucumber-jvm,sventorben/cucumber-jvm,sghill/cucumber-jvm,sghill/cucumber-jvm,PeterDG/cucumberPro,dkowis/cucumber-jvm,demos74dx/cucumber-jvm,HendrikSP/cucumber-jvm,ppotanin/cucumber-jvm,ArishArbab/cucumber-jvm,PeterDG/cucumberPro,andyb-ge/cucumber-jvm,DPUkyle/cucumber-jvm,demos74dx/cucumber-jvm,DPUkyle/cucumber-jvm,DPUkyle/cucumber-jvm,nilswloka/cucumber-jvm,danielwegener/cucumber-jvm,goushijie/cucumber-jvm,sventorben/cucumber-jvm,HendrikSP/cucumber-jvm,hcawebdevelopment/cucumber-jvm,sghill/cucumber-jvm,flaviuratiu/cucumber-jvm,assilzm/cucumber-groovy-seeyon,chrishowejones/cucumber-jvm,nilswloka/cucumber-jvm,Draeval/cucumber-jvm,andyb-ge/cucumber-jvm,brasmusson/cucumber-jvm,demos74dx/cucumber-jvm,NickCharsley/cucumber-jvm,ppotanin/cucumber-jvm,hcawebdevelopment/cucumber-jvm,chrishowejones/cucumber-jvm,ushkinaz/cucumber-jvm,DPUkyle/cucumber-jvm,guardian/cucumber-jvm,Draeval/cucumber-jvm,paoloambrosio/cucumber-jvm,joansmith/cucumber-jvm,joansmith/cucumber-jvm,Draeval/cucumber-jvm,ArishArbab/cucumber-jvm,andyb-ge/cucumber-jvm,paoloambrosio/cucumber-jvm,goushijie/cucumber-jvm,guardian/cucumber-jvm,goushijie/cucumber-jvm,rlagunov-anaplan/cucumber-jvm,guardian/cucumber-jvm,demos74dx/cucumber-jvm,goushijie/cucumber-jvm,VivaceVivo/cucumber-mod-DI,DPUkyle/cucumber-jvm,dkowis/cucumber-jvm,VivaceVivo/cucumber-mod-DI,PeterDG/cucumberPro,sghill/cucumber-jvm,paoloambrosio/cucumber-jvm