包详细信息

mocha-reporter-json-standard

agyemanjp291MIT1.0.0

Report Mocha test runner output to a standardized CI tooling output JSON format

mocha, mocha-reporter, json

自述文件

mocha-reporter-json-standard

Report Mocha test runner output to a standardized CI tooling output JSON format

Description

Report Mocha test runner output to a standardized CI tooling output JSON format.

This package is part of the series of packages for reporting tooling output in a standardized JSON format for use with the ci-checks-action Github action.

The other packages include:

Install

npm install --save mocha-reporter-json-standard

Usage

mocha dist/*.test.js --reporter mocha-reporter-json-standard >| test-report.json

This will test all *.test.js files in the /dist folder and output the results file test-report.json