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

Improve test failure message #6

Open
sed-i opened this issue Aug 2, 2023 · 0 comments
Open

Improve test failure message #6

sed-i opened this issue Aug 2, 2023 · 0 comments

Comments

@sed-i
Copy link

sed-i commented Aug 2, 2023

A test failure looks like this:

ERROR    interface_tester.interface_test:runner.py:55 Failed check 3: validating schema on scene output: 2 validation errors for ProviderSchema
app -> url
  field required (type=value_error.missing)
app -> ingesters -> 0 -> protocol
  field required (type=value_error.missing)

It could be handy if there also was:

  • A link to the schema / doc / test.
  • More detailed context. It is not clear from "validation errors for ProviderSchema" what was being tested. Does it mean: "a stand-in requirer was not able to parse what the lib's TracingProvider rendered"?
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