-
Notifications
You must be signed in to change notification settings - Fork 5
Example Reports
Tom Longhurst edited this page Apr 28, 2020
·
2 revisions
In your output directory after your tests have finished:
BDTest - Report - By Story - {timestamp}.html
In your output directory after your tests have finished:
BDTest - Report - All Scenarios - {timestamp}.html
In your output directory after your tests have finished:
BDTest - Test Data - {timestamp}.json
Example:
{
"TestTimer": {
"TestsStartedAt": "2019-01-11T10:23:50.0230533+00:00",
"TestsFinishedAt": "2019-01-11T10:23:50.6290701+00:00",
"ElapsedTime": "00:00:00.6060168"
},
"Scenarios": [
{
"StartTime": "2019-01-11T10:23:50.551935+00:00",
"EndTime": "2019-01-11T10:23:50.553344+00:00",
"TimeTaken": "0.00:00:00:0014090",
"StoryText": {
"Story": "As a Test User\r\nI want To Test\r\nSo that Things Work\r\n"
},
"ScenarioText": {
"Scenario": "Custom Scenario"
},
"Steps": [
{
"StartTime": "2019-01-11T10:23:50.5519411+00:00",
"EndTime": "2019-01-11T10:23:50.5522994+00:00",
"_stepType": "Given",
"TimeTaken": "0.00:00:00:0003583",
"Exception": null,
"Status": "Passed",
"StepText": "Given Action 1"
},
{
"StartTime": "2019-01-11T10:23:50.5523005+00:00",
"EndTime": "2019-01-11T10:23:50.5528788+00:00",
"_stepType": "When",
"TimeTaken": "0.00:00:00:0005783",
"Exception": null,
"Status": "Passed",
"StepText": "When Action 2 is custom text"
},
{
"StartTime": "2019-01-11T10:23:50.5528798+00:00",
"EndTime": "2019-01-11T10:23:50.5531625+00:00",
"_stepType": "Then",
"TimeTaken": "0.00:00:00:0002827",
"Exception": null,
"Status": "Passed",
"StepText": "Then Action 3"
},
{
"StartTime": "2019-01-11T10:23:50.5531635+00:00",
"EndTime": "2019-01-11T10:23:50.5533388+00:00",
"_stepType": "AndThen",
"TimeTaken": "0.00:00:00:0001753",
"Exception": null,
"Status": "Passed",
"StepText": "And Action 3"
}
],
"Status": "Passed"
}
]
}
In your output directory after your tests have finished:
BDTest - Test Data - {timestamp}.xml
Example:
<?xml version="1.0" encoding="utf-16"?>
<TestData>
<TestTimer>
<TestsStartedAt>2019-01-11T10:23:50.0230533+00:00</TestsStartedAt>
<TestsFinishedAt>2019-01-11T10:23:50.6290701+00:00</TestsFinishedAt>
<ElapsedTime>00:00:00.6060168</ElapsedTime>
</TestTimer>
<Scenarios>
<StartTime>2019-01-11T10:23:50.551935+00:00</StartTime>
<EndTime>2019-01-11T10:23:50.553344+00:00</EndTime>
<TimeTaken>0.00:00:00:0014090</TimeTaken>
<StoryText>
<Story>As a Test User
I want To Test
So that Things Work
</Story>
</StoryText>
<ScenarioText>
<Scenario>Custom Scenario</Scenario>
</ScenarioText>
<Steps>
<StartTime>2019-01-11T10:23:50.5519411+00:00</StartTime>
<EndTime>2019-01-11T10:23:50.5522994+00:00</EndTime>
<_stepType>Given</_stepType>
<TimeTaken>0.00:00:00:0003583</TimeTaken>
<Exception />
<Status>Passed</Status>
<StepText>Given Action 1</StepText>
</Steps>
<Steps>
<StartTime>2019-01-11T10:23:50.5523005+00:00</StartTime>
<EndTime>2019-01-11T10:23:50.5528788+00:00</EndTime>
<_stepType>When</_stepType>
<TimeTaken>0.00:00:00:0005783</TimeTaken>
<Exception />
<Status>Passed</Status>
<StepText>When Action 2</StepText>
</Steps>
<Steps>
<StartTime>2019-01-11T10:23:50.5528798+00:00</StartTime>
<EndTime>2019-01-11T10:23:50.5531625+00:00</EndTime>
<_stepType>Then</_stepType>
<TimeTaken>0.00:00:00:0002827</TimeTaken>
<Exception />
<Status>Passed</Status>
<StepText>Then Action 3</StepText>
</Steps>
<Steps>
<StartTime>2019-01-11T10:23:50.5531635+00:00</StartTime>
<EndTime>2019-01-11T10:23:50.5533388+00:00</EndTime>
<_stepType>AndThen</_stepType>
<TimeTaken>0.00:00:00:0001753</TimeTaken>
<Exception />
<Status>Passed</Status>
<StepText>And Action 4</StepText>
</Steps>
<Status>Passed</Status>
</Scenarios>
</TestData>