Security News
PyPI’s New Archival Feature Closes a Major Security Gap
PyPI now allows maintainers to archive projects, improving security and helping users make informed decisions about their dependencies.
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 621 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
PyPI now allows maintainers to archive projects, improving security and helping users make informed decisions about their dependencies.
Research
Security News
Malicious npm package postcss-optimizer delivers BeaverTail malware, targeting developer systems; similarities to past campaigns suggest a North Korean connection.
Security News
CISA's KEV data is now on GitHub, offering easier access, API integration, commit history tracking, and automated updates for security teams and researchers.