JSPM

  • Created
  • Published
  • Downloads 153089
  • Score
    100M100P100Q180703F
  • License Apache-2.0

The json schema for a mutation testing report.

Package Exports

  • mutation-testing-report-schema

This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (mutation-testing-report-schema) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.

Readme

Build Status

Mutation testing elements schema

The json schema for mutation testing elements.

The schema can be found here.

JavaScript

Install it with npm like this:

$ npm i mutation-testing-report-schema

Use it from typescript or js (with babel)

import { schema } from 'mutation-testing-elements-schema';

For example, use AJV:

const schemaValidator = new Ajv();
schemaValidator.addSchema(schema, 'mutation-testing-report-schema');
schemaValidator.validate('mutation-testing-report-schema', { /*.. report as json ...*/ });

Other languages

Download the schema using https://www.unpkg.com/mutation-testing-report-schema@VERSION/dist/src/mutation-testing-report-schema.json

For the current version, see package.json.