Security News
Weekly Downloads Now Available in npm Package Search Results
Socket's package search now displays weekly downloads for npm packages, helping developers quickly assess popularity and make more informed decisions.
karma-sonarqube-execution-reporter
Advanced tools
A Karma plugin. Report execution results in sonar-unit-tests xml format.
Run npm install --save-dev karma-sonarqube-unit-reporter
in your project directory.
Package is also available on npmjs.org
plugins
section:module.exports = function (config) {
config.set({
plugins: [
require('karma-sonarqube-execution-reporter')
]
})
}
config.set
section:module.exports = function (config) {
config.set({
sonarQubeExecutionReporter: {
sonarQubeVersion: 'LATEST',
testPaths: ['./src/app'],
testFilePattern: '.spec.ts',
outputDir: './coverage',
outputFile: 'ut_report.xml'
},
})
}
sonarQubeExecutionReporter: {
sonarQubeVersion: string,
outputFile: string,
outputDir: string,
useBrowserName: boolean,
testPaths: string[],
testFilePattern: string,
}
Pass 'LATEST'
or main version of your SonarQube (pattern: '5.x'
, '6.x'
, etc).
Default value: 'LATEST'
File name for xml report (for example 'execution-report.xml'
).
Default value: 'ut_report.xml'
Relative directory for saving report file. If the directory doesn't exist will be created.
Default value: './'
(current directory)
A single path to the directory, that will be recursively scanned to find tests files.
Default value: './'
(current directory)
You can pass multiple relative directories instead of a single path, all directories will be recursively scanned for tests files. (Overrides option testPath
!)
Default value: ['./']
(current directory only)
You can pass a regex that will match your test files (for example '(.spec.js)|(.test.js)'
).
Default value: .spec.(ts|js)
0.1.1 (2018-11-22)
FAQs
A Karma plugin. Report execution results in sonar-unit-tests xml format.
The npm package karma-sonarqube-execution-reporter receives a total of 927 weekly downloads. As such, karma-sonarqube-execution-reporter popularity was classified as not popular.
We found that karma-sonarqube-execution-reporter demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer 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
Socket's package search now displays weekly downloads for npm packages, helping developers quickly assess popularity and make more informed decisions.
Security News
A Stanford study reveals 9.5% of engineers contribute almost nothing, costing tech $90B annually, with remote work fueling the rise of "ghost engineers."
Research
Security News
Socket’s threat research team has detected six malicious npm packages typosquatting popular libraries to insert SSH backdoors.