-
Notifications
You must be signed in to change notification settings - Fork 13
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
feat: Skipping failed tests from JSON-Schema-Test-Suite #125
feat: Skipping failed tests from JSON-Schema-Test-Suite #125
Conversation
We'll re-enable them once the feature is implemented. feat: Skipping failed tests from JSON-Schema-Test-Suite We'll re-enable them once the feature is implemented. fix: typo fix: typo
956c227
to
0728e56
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks @antoniocapelo !
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
All feedback from last round is addressed so ✅
Little late to the party but this looks great @antoniocapelo - thanks! |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
nice 🔥
Description
On top of our test cases, we're running the JSON-Schema-Test-Suite. However, until all features are implemented, some of the tests in this suite would fail.
We're using a custom jest reporter to keep track of the tests that are failing (on a dedicated file), so we can re-enable them once the feature is implemented.
Note: The failed tests are not being saved to file every time the suite runs, as this could cause for bugs to surface due to a change in the codebase. The
SHOULD_WRITE_FAILED_TESTS_TO_FILE
constant on the custom reporter can be set totrue
to write the failed tests to a file (on-demand), for later consumption at thejson_schema_test_suite.test.js
file.