Skip to content

Feature request: JUnit reporter for jsonschema test #589

@CuriousStork

Description

@CuriousStork

--json flag is mentioned for jsonschema test command, however, I think it's not working in 13.5.0:

jsonschema test [schemas-or-directories...]
[--http/-h] [--verbose/-v] [--resolve/-r <schemas-or-directories> ...]
[--extension/-e <extension>] [--ignore/-i <schemas-or-directories>]
[--default-dialect/-d <uri>] [--json/-j]

For tools like GitLab unit test reports it would be great to have JUnit output format.

Ideally it's great to produce multiple reports at once, for example, a JUnit XML file for GitLab unit test reports and stdout to debug CI/CD or local runs.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions