-
-
Notifications
You must be signed in to change notification settings - Fork 19
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
Supply expected / actual in separate fields #69
Comments
Moving this to the mono repo. For context: This is a proposed change to the message protocol. In Java, assertion libraries use the well known I've got no opinion on this. Just adding additional clarification. |
Thanks for clarification.
Correctly, that would be good, to the tools consuming the messages don't need to know if it was java or some other runner... |
There is an implicit assumption here that an assertion is comparison between two values. What is the type of So if we do this, the I suppose the consumers (reporting tools) could render primitives (strings, numbers, dates) fine. Arrays of primitives could be rendered in a bullet list. But for deeply nested objects we'd have to display them as a tree. Something to think about... |
Some of the libraries might work with this, however if we did this, we would need a way of obtaining both the previously unstitched values, and we would have to have reasonable confidence most / all libraries do this (I think they do, but it's just a consideration). |
Currently one get the following message for a (failed) test_step_finished
to prevent the consumer from parsing the message is would be good to have the 'expected: <8.0> but was: <3.0>' part split in different fields
Describe the solution you'd like
The text was updated successfully, but these errors were encountered: