You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on May 21, 2019. It is now read-only.
aslakhellesoy edited this page May 25, 2011
·
4 revisions
If you’re writing a Clojure application you can write Step Definitions in Clojure too. Here is an example:
(Given #"^I have entered ([\d.]+) into the calculator$"
(fn [number]
(push-number (Float. number))))
Just place your Clojure Step Definitions under features/step_definitions and Cuke4Duke will pick them up automatically. See the Clojure example project for a full example.