summaryrefslogtreecommitdiff
path: root/type-parser/features/custom-type.feature
diff options
context:
space:
mode:
authorEugen Wissner <belka@caraus.de>2018-12-24 20:19:20 +0100
committerEugen Wissner <belka@caraus.de>2018-12-24 20:19:20 +0100
commit0e8f395f7a9c422860f3f4c161788aca009d9889 (patch)
treedf35f0f572432fcd9814b30d7dab8787ee409174 /type-parser/features/custom-type.feature
parent714245fcb0303249c14bd4737c1927103b106b0c (diff)
downloadcucumber-js-demo-0e8f395f7a9c422860f3f4c161788aca009d9889.tar.gz
Create a branch with custom parameters
Diffstat (limited to 'type-parser/features/custom-type.feature')
-rw-r--r--type-parser/features/custom-type.feature14
1 files changed, 14 insertions, 0 deletions
diff --git a/type-parser/features/custom-type.feature b/type-parser/features/custom-type.feature
new file mode 100644
index 0000000..8b74a0f
--- /dev/null
+++ b/type-parser/features/custom-type.feature
@@ -0,0 +1,14 @@
+Feature: Custom parameter types
+ Scenario:
+ When I interpret "to be" as a type
+ Then true is true
+ And false is not true
+
+ Scenario:
+ When a date 24.12.2018 is given
+ Then it gets converted to a Date object
+
+ Scenario:
+ Given a regular expression matches this pattern
+ And it matches that pattern
+ Then the step definition should be called twice