
Security News
npm ‘is’ Package Hijacked in Expanding Supply Chain Attack
The ongoing npm phishing campaign escalates as attackers hijack the popular 'is' package, embedding malware in multiple versions.
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 344 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
The ongoing npm phishing campaign escalates as attackers hijack the popular 'is' package, embedding malware in multiple versions.
Security News
A critical flaw in the popular npm form-data package could allow HTTP parameter pollution, affecting millions of projects until patched versions are adopted.
Security News
Bun 1.2.19 introduces isolated installs for smoother monorepo workflows, along with performance boosts, new tooling, and key compatibility fixes.