Skip to content
This repository has been archived by the owner on Dec 13, 2020. It is now read-only.

ajv-validator/ajv-istanbul

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

ajv-istanbul

DEPRECATED / ARCHIVED

To measure coverage of your validation code use ajv v7 to compile schemas to standalone validation code - it is now fully imlemented/supported - and use any testing framework you prefer - no need to use this package.

Instrument validation code generated by Ajv to measure test coverage of your schemas

Build Status npm version Gitter

Install

npm i ajv-istanbul --save-dev

Usage

ajv-istanbul requires using Ajv version >= 5.0.1-beta.

var Ajv = require('ajv');
var ajv = new Ajv;
require('ajv-istanbul')(ajv);

See tests for example how to collect coverage and generate reports.

License

MIT

About

🚨[ARCHIVED] Measure test-coverage of your schemas using Ajv

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published