Convert ZAP to JUnit
yarn add [--global] zap-to-junit
cat test-results.xml | zap-to-junit
const zapToJunit = require('zap-to-junit');
process.stdin
.pipe(zapToJunit.stream())
.pipe(process.stdout);
zapToJunit('zap output'); // "junit output"
Convert ZAP to JUnit
yarn add [--global] zap-to-junit
cat test-results.xml | zap-to-junit
const zapToJunit = require('zap-to-junit');
process.stdin
.pipe(zapToJunit.stream())
.pipe(process.stdout);
zapToJunit('zap output'); // "junit output"