Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
3 changed files
with
152 additions
and
19 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,24 @@ | ||
{ | ||
'1': { | ||
name: 'Addition', | ||
description: "In order to avoid silly mistakes\n As a math idiot\n I want to be told the sum of two numbers", | ||
scenarios: [ | ||
{ | ||
outline: true, | ||
name: 'Add two numbers', | ||
breakdown: [ | ||
{ '1': ['Given', 'I have entered 50 into the calculator'] }, | ||
{ '2': ['And', 'I have entered 70 into the calculator'] }, | ||
{ '3': ['When', 'I press add'] }, | ||
{ '4': ['Then', 'the result should be 120 on the screen'] } | ||
], | ||
examples: { | ||
// Remark: Only valid if outline === true | ||
"header0" : ['value1', 'value2', 'value3'] | ||
"header1" : ['value1', 'value2', 'value3'] | ||
"header2" : ['value1', 'value2', 'value3'] | ||
} | ||
} | ||
] | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters