html-reporter
Plugin for gemini which is intended to
aggregate the results of tests running into html report.
You can read more about gemini plugins here.
Installation
npm install html-reporter
Usage
Plugin has following configuration:
- enabled (optional)
Boolean
– enable/disable the plugin; by default plugin is enabled - path (optional)
String
- path to directory for saving html report file; by
default html report will be saved into gemini-report/index.html
inside current work
directory. - errorsOnly (optional) - report with only failed tests
Also there is ability to override plugin parameters by CLI options or environment variables
(see configparser).
Usage
Add plugin to your gemini
config file:
module.exports = {
system: {
plugins: {
'html-reporter': {
enabled: true,
path: 'my/gemini-reports',
errorsOnly: false
}
}
},
}
Testing
Run mocha tests:
npm run test-unit
Run eslint codestyle verification
npm run lint