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

Test message element #55

Open
rasevicrade opened this issue Apr 3, 2018 · 0 comments
Open

Test message element #55

rasevicrade opened this issue Apr 3, 2018 · 0 comments

Comments

@rasevicrade
Copy link

Hi,

I just want to say great work on the framework. We've been using it for a while and have a minor suggestion for the signature of assertions. It would be great if it accepted XML as a "message".
So for example if one was to use:
assert:true(fn:false(), <a>Wrong!</a>)
Output would be:

<assert test="true" result="failed" xmlns="http://github.com/robwhitby/xray">
  <actual>false</actual>
  <expected>true</expected>
  <message>
    <a>Wrong!</a>
</message>
</assert>

In any case, keep up the good work!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant