Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add verifications in XML and HTML reports #36

Closed
2 tasks done
Galad opened this issue May 10, 2018 · 0 comments
Closed
2 tasks done

Add verifications in XML and HTML reports #36

Galad opened this issue May 10, 2018 · 0 comments
Milestone

Comments

@Galad
Copy link
Owner

Galad commented May 10, 2018

Requires #35

Verification results should appear in the XML and the HTML reports.

For XML in should have the following result:

<then start-date="01/01/0001 00:00:00 +00:00" end-date="01/01/0001 00:00:04 +00:00" duration="4844" result="failed">
     <question start-date="01/01/0001 00:00:00 +00:00" end-date="01/01/0001 00:00:04 +00:00" duration="4844" name="Displayed items" has-error="false">
       ...
     </question>
     <outcomeDetail>
         <![CDATA[Assert.Equal() Failure
                                 ↓ (pos 44)
Expected: ···d4-8758-6900b09593a0
Actual:   ···d4-8758-6900b09593a0!
                                 ↑ (pos 44)]]>
     </outcomeDetail>
</then>

Possible values for the result attribute are passed, failed and error.
The element outcomeDetail will be empty the the result is passed, otherwise it will contains the exception message.

  • Add verification in the XML report
  • Add verification in the HTML report
@Galad Galad added this to the 1.0.0 milestone May 10, 2018
Galad added a commit that referenced this issue May 27, 2018
@Galad Galad closed this as completed in cc34a62 May 29, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant