Skip to content

RFC: Report on Implementations' Statuses #314

Closed
@Julian

Description

@Julian

There should be a mechanism by which implementers (currently mentioned in the README or otherwise) can submit their implementation to be automatically tested and displayed on each commit to the test suite.

Specifically, we would report on:

  • number of failing tests
  • supported drafts

At first thought, an easy implementation may be to have each participating implementation implement a black-box executable which:

  • takes one test as input on stdin, and one argument, the metaschema ID for the metaschema of the provided test
  • exits successfully for valid instances
  • exits with non-zero exit status for invalid ones
  • optionally writes to stdout an object in the draft2019-09 (or later) output format containing output about the validation process

Internally then (here in the test repo), we run each of these binaries via a GitHub action, collect the results, and expose them for viewing.

(This issue is very open for discussion from implementers -- comments welcome.)

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementAn enhancement to the tooling or structure of the suite (as opposed to a new test).

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions