Security News
ESLint is Now Language-Agnostic: Linting JSON, Markdown, and Beyond
ESLint has added JSON and Markdown linting support with new officially-supported plugins, expanding its versatility beyond JavaScript.
html-reporter
Advanced tools
Plugin for gemini and hermione which is intended to aggregate the results of tests running into html report
Plugin for gemini and hermione which is intended to aggregate the results of tests running into html report.
You can read more about gemini plugins here and about hermione plugins here.
npm install html-reporter
Plugin has following configuration:
Boolean
– enable/disable the plugin; by default plugin is enabledString
- path to directory for saving html report file; by
default html report will be saved into gemini-report/index.html
inside current work
directory.String
- default view mode. Available values are:
all
- show all tests. Default value.failed
- show only failed tests.String
- it changes original host for view in the browser; by default original host does not changeAlso there is ability to override plugin parameters by CLI options or environment variables
(see configparser).
Use html_reporter_
prefix for the environment variables and --html-reporter-
for the cli options.
For example you can override path
option like so:
$ html_reporter_path=custom/dir gemini test
$ gemini test --html-reporter-path custom/dir
Add plugin to your gemini
config file:
module.exports = {
// ...
system: {
plugins: {
'html-reporter/gemini': {
enabled: true,
path: 'my/gemini-reports',
defaultView: 'all',
baseHost: 'test.com'
}
}
},
//...
}
Add plugin to your hermione
config file:
module.exports = {
// ...
system: {
plugins: {
'html-reporter/hermione': {
enabled: true,
path: 'my/hermione-reports',
defaultView: 'all',
baseHost: 'test.com'
}
}
},
//...
}
Run mocha tests:
npm run test-unit
Run eslint codestyle verification
npm run lint
FAQs
Html-reporter and GUI for viewing and managing results of a tests run. Currently supports Testplane and Hermione.
The npm package html-reporter receives a total of 1,538 weekly downloads. As such, html-reporter popularity was classified as popular.
We found that html-reporter demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 0 open source maintainers collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
ESLint has added JSON and Markdown linting support with new officially-supported plugins, expanding its versatility beyond JavaScript.
Security News
Members Hub is conducting large-scale campaigns to artificially boost Discord server metrics, undermining community trust and platform integrity.
Security News
NIST has failed to meet its self-imposed deadline of clearing the NVD's backlog by the end of the fiscal year. Meanwhile, CVE's awaiting analysis have increased by 33% since June.