Security News
tea.xyz Spam Plagues npm and RubyGems Package Registries
Tea.xyz, a crypto project aimed at rewarding open source contributions, is once again facing backlash due to an influx of spam packages flooding public package registries.
junit-reports-combiner
Advanced tools
Readme
Combine JUnit XML reports from two and more.
The reports of two and more can be combined using the set operations union, intersection, and difference.
npm i -g junit-reports-combiner
npm i junit-reports-combiner
Combines two reports:
junit-reports-combiner TEST-example.FooTest.xml TEST-example.BarTest.xml
See the man junit-reports-combiner
for details.
import { DOMParser } from 'xmldom';
import JUnitReportsCombiner from 'junit-reports-combiner';
const parser = new DOMParser();
const xml1 = `
<testsuite tests="1" failures="0" name="example.FooTest" time="0.001" errors="0" skipped="0">
<testcase classname="example.FooTest" name="testFoo" time="0.001"/>
</testsuite>
`;
const doc1 = parser.parseFromString(xml1, 'application/xml');
const xml2 = `
<testsuite tests="1" failures="1" name="example.BarTest" time="0.001" errors="0" skipped="0">
<testcase classname="example.BarTest" name="testBar" time="0.001">
<failure type="java.lang.AssertionError">java.lang.AssertionError</failure>
</testcase>
</testsuite>
`;
const doc2 = parser.parseFromString(xml2, 'application/xml');
const combiner = new JUnitReportsCombiner();
const doc3 = combiner.combine(doc1, doc2);
Bug reports and pull requests are welcome on GitHub at https://github.com/naokikimura/junit-reports-combiner
The gem is available as open source under the terms of the MIT License.
FAQs
Combine JUnit XML reports from two and more.
The npm package junit-reports-combiner receives a total of 2 weekly downloads. As such, junit-reports-combiner popularity was classified as not popular.
We found that junit-reports-combiner 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
Tea.xyz, a crypto project aimed at rewarding open source contributions, is once again facing backlash due to an influx of spam packages flooding public package registries.
Security News
As cyber threats become more autonomous, AI-powered defenses are crucial for businesses to stay ahead of attackers who can exploit software vulnerabilities at scale.
Security News
UnitedHealth Group disclosed that the ransomware attack on Change Healthcare compromised protected health information for millions in the U.S., with estimated costs to the company expected to reach $1 billion.