3.1.1 • Published 10 months ago
json-reporter v3.1.1
json-reporter
Common plugin for:
which is intended to aggregate the results of tests running.
You can read more about testplane plugins here.
Installation
npm install json-reporterUsage
Plugin has following configuration:
- enabled (optional)
Boolean– enable/disable the plugin; by default plugin is enabled - path (optional)
String- path for saving json report file; by default json report will be saved intojson-reporter.jsoninside current work directory.
Also there is ability to override plugin parameters by CLI options or environment variables (see configparser).
Testplane usage
Add plugin to your testplane config file:
export default {
// ...
plugins: {
'json-reporter/testplane': {
enabled: true,
path: 'my/custom/report.json'
}
},
//...
}Hermione usage
Add plugin to your hermione config file:
module.exports = {
// ...
plugins: {
'json-reporter/hermione': {
enabled: true,
path: 'my/custom/report.json'
}
},
//...
}Testing
Run mocha tests:
npm run test-unitRun tests with istanbul coverage calculation:
npm run coverRun eslint codestyle verification
npm run lint3.1.1
10 months ago
3.1.0
2 years ago
3.0.0
2 years ago
2.2.0
2 years ago
2.1.2
4 years ago
2.1.1
6 years ago
2.1.0
6 years ago
2.0.0
7 years ago
1.2.1
7 years ago
1.2.0
7 years ago
1.1.0
7 years ago
1.0.0
7 years ago
0.6.0
7 years ago
0.5.1
8 years ago
0.5.0
8 years ago
0.4.0
8 years ago
0.3.0
8 years ago
0.2.0
8 years ago
0.1.4
8 years ago
0.1.3
9 years ago
0.1.2
9 years ago
0.1.1
9 years ago
0.1.0
9 years ago
0.0.1
9 years ago