We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Something like this:
g.AssertJson(t, "test_case_23.json", jsonData)
Will result in:
Result did not match the golden fixture. Diff is below: --- Expected +++ Actual @@ -1 +1,12 @@ -[] +[ + { + "Min": { + "X": 7, + "Y": 3 + }, + "Max": { + "X": 28, + "Y": 50 + } + } +]
For table driven tests, you can't tell which one failed. I propose adding the name field to the assert failure logging.
name
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Something like this:
Will result in:
For table driven tests, you can't tell which one failed. I propose adding the
name
field to the assert failure logging.The text was updated successfully, but these errors were encountered: