
Company News
Socket Partners with Replit to Block Malicious Packages in AI-Powered Development
Replit is integrating Socket Firewall into its AI-powered development experience to help protect builders from malicious open source packages.
jasmine-xml2html-converter
Advanced tools
A node module to convert jasmine/junit generated xml reports into formatted html reports
repo : https://github.com/basavanag/jasmine-xml2html-converter
Coverting the xml file to html
var HTMLReport = require('jasmine-xml2html-converter');
// Call custom report for html output
testConfig = {
reportTitle: 'Test Execution Report',
outputPath: './test_out/e2e/chrome'
};
new HTMLReport().from(reportPath + '/junitresults.xml', testConfig);
Using with protractor conf.js file
// A callback function called once tests are finished.
onComplete: function() {
var path = require("path");
var browserName, browserVersion;
var reportPath = path.join(__dirname, '..', '/test_out/e2e/');
var capsPromise = browser.getCapabilities();
capsPromise.then(function (caps) {
browserName = caps.caps_.browserName.toLowerCase();
browserName = browserName.replace(/ /g,"-");
browserVersion = caps.caps_.version;
return null;
});
var HTMLReport = require('jasmine-xml2html-converter');
reportPath += browserName;
// Call custom report for html output
testConfig = {
reportTitle: 'Test Execution Report',
outputPath: reportPath,
seleniumServer: browser.seleniumAddress,
applicationUrl: browser.baseUrl,
testBrowser: browserName + ' ' + browserVersion
};
new HTMLReport().from(reportPath + '/junitresults.xml', testConfig);
}

FAQs
A node module to convert jasmine xml reports to html
We found that jasmine-xml2html-converter 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.

Company News
Replit is integrating Socket Firewall into its AI-powered development experience to help protect builders from malicious open source packages.

Security News
npm confirmed a tooling bug incorrectly marked several one-character packages as security holders and said it was working on a rollback.

Research
/Security News
Newer packages in this compromise use native extensions and .pth loaders to execute JavaScript stealers in developer environments.