Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

it would help to actually add the test feature file

  • Loading branch information...
commit 404145ef115681567a6002c1d91831a36f526f13 1 parent 1a85ddd
@rplevy-draker authored
Showing with 22 additions and 0 deletions.
  1. +22 −0 clojure/src/test/resources/cucumber/runtime/clojure/tables.feature
View
22 clojure/src/test/resources/cucumber/runtime/clojure/tables.feature
@@ -0,0 +1,22 @@
+Feature: tables
+
+ Scenario: a key-value table
+ Given I have a kv table:
+ | my-first-key | 1 |
+ | another-key | "a string" |
+ | yak | :a-kw |
+ Then the clojure literal equivalent should be:
+ """
+ {:my-first-key 1, :another-key "a string", :yak :a-kw}
+ """
+
+ Scenario: a table
+ Given I have a table with its keys in a header row:
+ | id | name | created-at |
+ | 55 | "foo" | 1293884100000 |
+ | 56 | "bar" | 1293884100000 |
+ Then the clojure literal equivalent should be:
+ """
+ [{:id 55, :name "foo", :created-at 1293884100000}
+ {:id 56, :name "bar", :created-at 1293884100000}]
+ """

0 comments on commit 404145e

Please sign in to comment.
Something went wrong with that request. Please try again.