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

feat: Skipping failed tests from JSON-Schema-Test-Suite #125

Merged
merged 4 commits into from
Feb 7, 2025

Conversation

antoniocapelo
Copy link
Collaborator

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 to true to write the failed tests to a file (on-demand), for later consumption at the json_schema_test_suite.test.js file.

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
@antoniocapelo antoniocapelo force-pushed the devxp-2603-use-json-schema-test-suite-refactor branch from 956c227 to 0728e56 Compare February 6, 2025 16:59
thien-remote
thien-remote previously approved these changes Feb 7, 2025
Copy link
Collaborator

@thien-remote thien-remote left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks @antoniocapelo !

Copy link
Collaborator

@thien-remote thien-remote left a 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 ✅

@dragidavid
Copy link
Collaborator

Little late to the party but this looks great @antoniocapelo - thanks!

Copy link
Collaborator

@lukad lukad left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

nice 🔥

@antoniocapelo antoniocapelo merged commit 1dcfb2a into main Feb 7, 2025
3 checks passed
@antoniocapelo antoniocapelo deleted the devxp-2603-use-json-schema-test-suite-refactor branch February 7, 2025 09:43
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

Successfully merging this pull request may close these issues.

4 participants