Created
January 6, 2016 13:59
-
-
Save sahajamit/e85986e2f365aed3a4a8 to your computer and use it in GitHub Desktop.
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
[ | |
{ | |
"id": "feature1", | |
"description": "This is the description for Feature1", | |
"name": "Feature1", | |
"keyword": "Feature", | |
"line": 1, | |
"elements": [ | |
{ | |
"after": [ | |
{ | |
"result": { | |
"duration": 46000, | |
"status": "passed" | |
}, | |
"match": { | |
"location": "BaseStepDefs.after(Scenario)" | |
} | |
} | |
], | |
"id": "feature1;determine-past-date-one-day-before-today", | |
"before": [ | |
{ | |
"result": { | |
"duration": 148000, | |
"status": "passed" | |
}, | |
"match": { | |
"location": "BaseStepDefs.before(Scenario)" | |
} | |
} | |
], | |
"description": "", | |
"name": "Determine past date one day before today", | |
"keyword": "Scenario", | |
"line": 4, | |
"steps": [ | |
{ | |
"result": { | |
"duration": 93706000, | |
"status": "passed" | |
}, | |
"name": "today is 2015-12-20", | |
"keyword": "Given ", | |
"line": 5, | |
"match": { | |
"arguments": [ | |
{ | |
"val": "2015-12-20", | |
"offset": 9 | |
} | |
], | |
"location": "DateStepdefs.today_is(Date)" | |
} | |
}, | |
{ | |
"result": { | |
"duration": 196000, | |
"status": "passed" | |
}, | |
"name": "I ask if Dec 19, 2015 is in the past", | |
"keyword": "When ", | |
"line": 6, | |
"match": { | |
"arguments": [ | |
{ | |
"val": "Dec 19, 2015", | |
"offset": 9 | |
} | |
], | |
"location": "DateStepdefs.I_ask_if_date_is_in_the_past(Date)" | |
} | |
}, | |
{ | |
"result": { | |
"duration": 1599000, | |
"status": "passed" | |
}, | |
"name": "the result should be yes", | |
"keyword": "Then ", | |
"line": 7, | |
"match": { | |
"arguments": [ | |
{ | |
"val": "yes", | |
"offset": 21 | |
} | |
], | |
"location": "DateStepdefs.the_result_should_be(String)" | |
} | |
} | |
], | |
"type": "scenario" | |
}, | |
{ | |
"after": [ | |
{ | |
"result": { | |
"duration": 36000, | |
"status": "passed" | |
}, | |
"match": { | |
"location": "BaseStepDefs.after(Scenario)" | |
} | |
} | |
], | |
"id": "feature1;determine-past-date-ten-days-before-today", | |
"tags": [ | |
{ | |
"name": "@wip", | |
"line": 9 | |
} | |
], | |
"before": [ | |
{ | |
"result": { | |
"duration": 38000, | |
"status": "passed" | |
}, | |
"match": { | |
"location": "BaseStepDefs.before(Scenario)" | |
} | |
} | |
], | |
"description": "", | |
"name": "Determine past date ten days before today", | |
"keyword": "Scenario", | |
"line": 10, | |
"steps": [ | |
{ | |
"result": { | |
"duration": 216000, | |
"status": "passed" | |
}, | |
"name": "today is 2015-12-20", | |
"keyword": "Given ", | |
"line": 11, | |
"match": { | |
"arguments": [ | |
{ | |
"val": "2015-12-20", | |
"offset": 9 | |
} | |
], | |
"location": "DateStepdefs.today_is(Date)" | |
} | |
}, | |
{ | |
"result": { | |
"duration": 155000, | |
"status": "passed" | |
}, | |
"name": "I ask if Dec 10, 2015 is in the past", | |
"keyword": "When ", | |
"line": 12, | |
"match": { | |
"arguments": [ | |
{ | |
"val": "Dec 10, 2015", | |
"offset": 9 | |
} | |
], | |
"location": "DateStepdefs.I_ask_if_date_is_in_the_past(Date)" | |
} | |
}, | |
{ | |
"result": { | |
"duration": 51000, | |
"status": "passed" | |
}, | |
"name": "the result should be yes", | |
"keyword": "Then ", | |
"line": 13, | |
"match": { | |
"arguments": [ | |
{ | |
"val": "yes", | |
"offset": 21 | |
} | |
], | |
"location": "DateStepdefs.the_result_should_be(String)" | |
} | |
} | |
], | |
"type": "scenario" | |
} | |
], | |
"uri": "src/test/resources/com.cucumber.testng.examples/date_calculator1.feature" | |
} | |
] |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment