File tree Expand file tree Collapse file tree 4 files changed +14
-6
lines changed Expand file tree Collapse file tree 4 files changed +14
-6
lines changed Original file line number Diff line number Diff line change 1
1
## [ 1.2.4-SNAPSHOT] ( https://github.com/cucumber/cucumber-jvm/compare/v1.2.3...master ) (In Git)
2
2
3
+ * [ examples] Fix to allow lein test to to run successfully ([ #805 ] ( https://github.com/cucumber/cucumber-jvm/pull/805 ) Chris Howe-Jones)
4
+
3
5
## [ 1.2.3] ( https://github.com/cucumber/cucumber-jvm/compare/v1.2.2...v1.2.3 ) (2015-07-07)
4
6
5
7
* [ Core] Make the Rerun Formatter consistent with the exit code ([ #871 ] ( https://github.com/cucumber/cucumber-jvm/pull/871 ) Björn Rasmusson)
Original file line number Diff line number Diff line change 2
2
:description " A demo of Cucumber with Clojure and Leiningen"
3
3
:dependencies [[org.clojure/clojure " 1.6.0" ]]
4
4
:plugins [[lein-cucumber " 1.0.2" ]]
5
- :cucumber-feature-paths [" test/features/" ])
5
+ :cucumber-feature-paths [" test/features/" ]
6
+ :profiles
7
+ {:dev
8
+ {:dependencies [[lein-cucumber " 1.0.2" ]
9
+ [info.cukes/cucumber-core " 1.1.1" ]]}}
10
+ )
Original file line number Diff line number Diff line change 1
1
(ns clojure-cukes.test.core
2
2
(:use [clojure-cukes.core])
3
- (:use [clojure.test]))
3
+ (:use [clojure.test])
4
+ (:use [leiningen.cucumber])
5
+ (:import [cucumber.api.cli Main]))
4
6
5
7
(deftest run-cukes
6
- (. cucumber.api.cli.Main (main (into-array [" --plugin " " pretty" " --glue" " test/features/step_definitions " " test/features" ]))))
8
+ (. cucumber.api.cli.Main (main (into-array [" --format " " pretty" " --glue" " test" " test/features" ]))))
Original file line number Diff line number Diff line change 1
1
Feature : Cukes
2
- An example of testing Clojure with cucumber. The last 'Then' of
3
- 'eat 1 cuke' is failing. Change the "happy" to "meh" to make
4
- it pass.
2
+ An example of testing Clojure with cucumber. To see a failure try changing
3
+ the last 'Then' of 'eat 1 cuke' "meh" to "happy" .
5
4
6
5
Scenario : in the belly
7
6
Given I have 4 big "cukes" in my belly
You can’t perform that action at this time.
0 commit comments