
Security News
vlt Launches "reproduce": A New Tool Challenging the Limits of Package Provenance
vlt's new "reproduce" tool verifies npm packages against their source code, outperforming traditional provenance adoption in the JavaScript ecosystem.
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 705 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
vlt's new "reproduce" tool verifies npm packages against their source code, outperforming traditional provenance adoption in the JavaScript ecosystem.
Research
Security News
Socket researchers uncovered a malicious PyPI package exploiting Deezer’s API to enable coordinated music piracy through API abuse and C2 server control.
Research
The Socket Research Team discovered a malicious npm package, '@ton-wallet/create', stealing cryptocurrency wallet keys from developers and users in the TON ecosystem.