[
{
"testKey": "CALC-126",
"status": "FAIL",
"type": "Cucumber",
"start": "2017-05-03T16:49:38+01:00",
"finish": "2017-05-03T16:49:38+01:00",
"executedBy": "admin",
"defects": ["http://yourjirainstance/browse/DEFECT-47"],
"evidences": [
{
"filename":"evidenfile.json",
"contentType":"application/json",
"data":"http://yourjirainstance/plugins/servlet/raven/attachment/278/evidenfile.json"
}
],
"results": [
{
"name": "HTC One (4.3)",
"status": "FAIL",
"duration": 2714468,
"examples": [
"PASS",
"FAIL"
],
"detailExamples": [
{
"rank": 1,
"status": "PASS",
"duration": 339752,
"steps": [
{
"type": "background",
"keyword": "Given ",
"rank": 1,
"name": "a calculator I just turned on",
"duration": 36740,
"status": "PASS"
},
{
"type": "hook",
"keyword": "Before",
"rank": 2,
"name": "FactorialCalculator.setUp()",
"duration": 33185,
"status": "PASS"
},
{
"type": "hook",
"keyword": "After",
"rank": 3,
"name": "FactorialCalculator.tearDown()",
"duration": 13432,
"status": "PASS"
},
{
"type": "scenario",
"keyword": "Given ",
"rank": 4,
"name": "I have entered 3 into the calculator",
"duration": 76247,
"status": "PASS"
},
{
"type": "scenario",
"keyword": "When ",
"rank": 5,
"name": "I press factorial",
"duration": 80198,
"status": "PASS"
},
{
"type": "scenario",
"keyword": "Then ",
"rank": 6,
"name": "the result should be 6 on the screen",
"duration": 99950,
"status": "PASS"
}
]
},
{
"rank": 2,
"status": "FAIL",
"duration": 2374716,
"steps": [
{
"type": "background",
"keyword": "Given ",
"rank": 7,
"name": "a calculator I just turned on",
"duration": 26074,
"status": "PASS"
},
{
"type": "hook",
"keyword": "Before",
"rank": 8,
"name": "FactorialCalculator.setUp()",
"duration": 27654,
"status": "PASS"
},
{
"type": "hook",
"keyword": "After",
"rank": 9,
"name": "FactorialCalculator.tearDown()",
"duration": 27654,
"status": "PASS"
},
{
"type": "scenario",
"keyword": "Given ",
"rank": 10,
"name": "I have entered 4 into the calculator",
"duration": 89284,
"status": "PASS"
},
{
"type": "scenario",
"keyword": "When ",
"rank": 11,
"name": "I press factorial",
"duration": 111012,
"status": "PASS"
},
{
"type": "scenario",
"keyword": "Then ",
"rank": 12,
"name": "the result should be 65 on the screen",
"duration": 2093038,
"errorMessage": "java.lang.AssertionError: \nExpected: is <65L>\n but: was <24L>\r\n\tat org.hamcrest.MatcherAssert.assertThat(MatcherAssert.java:20)\r\n\tat org.junit.Assert.assertThat(Assert.java:956)\r\n\tat org.junit.Assert.assertThat(Assert.java:923)\r\n\tat com.xpandit.automation.cucumber.FactorialCalculator.theResultShouldBeOutputOnTheScreen(FactorialCalculator.java:47)\r\n\tat ✽.Then the result should be 65 on the screen(com/xpandit/automation/cucumber/2_factorial_error.feature:11)",
"status": "FAIL"
}
]
}
]
}
],
"assignee": "admin",
"testEnvironments": [
"Android",
"iOS"
]
}
] |