You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When running a spec/contract test, it would be extremely beneficial to see the expected (passing) criteria against the actual. This could be shown via a flag, method, etc.
For example:
**Expected**
price: int, nullable
**Actual**
price: int
^^ And if this coincides with a failure, then it is pretty clear what the developer needs to do.
Right now, it is very difficult to grok what goes wrong when a contract test fails. I think this would be a good step in the right direction. Its importance only grows as the expected criteria gets more complex (think a response with dozens of fields).
The text was updated successfully, but these errors were encountered:
jarrodparkes
changed the title
Feature Request: Expected versus Actual Debugging
Feature Request: Expected vs Actual Debugging
Dec 4, 2021
When running a spec/contract test, it would be extremely beneficial to see the expected (passing) criteria against the actual. This could be shown via a flag, method, etc.
For example:
^^ And if this coincides with a failure, then it is pretty clear what the developer needs to do.
Right now, it is very difficult to grok what goes wrong when a contract test fails. I think this would be a good step in the right direction. Its importance only grows as the expected criteria gets more complex (think a response with dozens of fields).
The text was updated successfully, but these errors were encountered: