Skip to content

Commit bfeea61

Browse files
committed
Native clojure backend. Closes #138, #265
1 parent dcdcef0 commit bfeea61

File tree

4 files changed

+8
-7
lines changed

4 files changed

+8
-7
lines changed

History.md

+1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
## [Git master](https://github.com/cucumber/cucumber-jvm/compare/v1.0.0.RC21...master)
22

3+
* [Clojure] Native Clojure backend ([#138](https://github.com/cucumber/cucumber-jvm/pull/138) [#265](https://github.com/cucumber/cucumber-jvm/pull/265) Kevin Downey, Nils Wloka)
34
* [JUnit] Added `format` attribute to `@Cucumber.Options` (Aslak Hellesøy)
45

56
## [1.0.0.RC21](https://github.com/cucumber/cucumber-jvm/compare/v1.0.0.RC20...v1.0.0.RC21)

clojure/src/test/resources/cucumber/runtime/clojure/cukes.feature

+1-1
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ Feature: Cukes
55

66
Scenario: in the belly (list)
77
Given I have this many cukes in my belly:
8-
| 13 |
8+
| 13 |
99
Then there are 13 cukes in my belly
1010

1111
Scenario: unimplemented steps

clojure/src/test/resources/cucumber/runtime/clojure/stepdefs.clj

+6-6
Original file line numberDiff line numberDiff line change
@@ -3,14 +3,14 @@
33
(def some-state (atom "'Before' hasn't run."))
44

55
(Before
6-
(fn []
7-
(do
8-
(reset! some-state "'Before' has run.")
9-
(println "Executing 'Before'."))))
6+
(fn []
7+
(do
8+
(reset! some-state "'Before' has run.")
9+
(println "Executing 'Before'."))))
1010

1111
(After
12-
(fn []
13-
(println (str "Executing 'After' " @some-state))))
12+
(fn []
13+
(println (str "Executing 'After' " @some-state))))
1414

1515
(Given #"^I have (\d+) cukes in my belly$"
1616
#(eat (Float. %1)))

0 commit comments

Comments
 (0)