python-jsonschema / python-jsonschema/referencing-suite

Autogenerate JSON-Schema-Test-Suite cases from the referencing cases

Open
#3 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

enhancement
Dominant language
Python
Stars
10
Forks
1
Avg merge
2h 45m
Merged PRs (30d)
1

Description

It should be possible and reasonably straightforward to take any referencing test, or at least any non-erroring test (which here generally takes the form "create some schemas, maybe set a base URI, then resolve a ref or few and assert against the result being some concrete object") and convert it into a JSON-Schema-Test-Suite test case where we need to express the assertion as a valid-or-invalid instance.

This suite is currently a lot richer than the regular one for $ref-specific tests, so doing so will allow sending tests back into the upstream suite without hand-authoring them.

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

The issue names no files, tests, or entry points. Start by reviewing the existing referencing cases and the JSON-Schema-Test-Suite format, then determine how non-erroring reference tests can express their assertions as valid-or-invalid instances. Done means suitable cases can be generated and sent back to the upstream suite without hand-authoring them.

Written by the indexing model from the issue text.

Assessment

Tech stack
json
Domain
testing
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.