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

Suggestion: test against the properties of error output for portability #65

Open
zkamvar opened this issue Oct 24, 2024 · 0 comments
Open

Comments

@zkamvar
Copy link
Member

zkamvar commented Oct 24, 2024

One thing I'm wondering about for the future is if we should be more specific in these tests to make them more portable (e.g. to other languages). I like snapshot tests as a quick confirmation, but sometimes they can be overwhelming with complex output.

I was thinking that we could test the properties of the error output like confirming that the schemaPath and dataPath, and message match our expectations for the errors. I should probably open an issue with this so it can be reviewed systematically.

Originally posted by @zkamvar in #63 (review)

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