Skip to content

Test meta schemas#1692

Open
jdesrosiers wants to merge 1 commit intojson-schema-org:mainfrom
jdesrosiers:test-meta-schemas
Open

Test meta schemas#1692
jdesrosiers wants to merge 1 commit intojson-schema-org:mainfrom
jdesrosiers:test-meta-schemas

Conversation

@jdesrosiers
Copy link
Copy Markdown
Member

In the test repo, it's come up a couple of times recently that we have some tests that aren't really testing the implementation, they're tests for the meta-schema. Those don't really belong in that test suite, but we really should have tests for the meta-schema.

This adds a framework to allow us to add tests for the meta-schema. It uses the @hyperjump-json-schema-coverage package I created recently to produce test coverage results. The coverage is very low for now. I only added a few tests covering enough to replace what's in the test suite and a little more.

This depends on #1691, so I'm creating this as draft until that's merged. But, otherwise it's fully functional and ready to add a bunch more tests.

@jdesrosiers jdesrosiers marked this pull request as ready for review April 13, 2026 17:59
@jdesrosiers jdesrosiers requested a review from gregsdennis April 13, 2026 18:01
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.

1 participant