7.1.0 • Published 6 months ago

vfile-reporter-junit v7.1.0

Weekly downloads
216
License
MIT
Repository
github
Last release
6 months ago

vfile-reporter-junit

npm version

jUnit reporter for VFile

Usage

const remark = require('remark');
const recommended = require('remark-preset-lint-recommended');
const vfileReporterJunit = require('vfile-reporter-junit');

let file = remark()
  .use(recommended)
  .processSync('## Hello world!')

console.log(await vfileReporterJunit([file]))
remark . --use preset-lint-recommended --report junit
<?xml version="1.0" encoding="utf-8"?>
<testsuites>
<testsuite package="org.eslint" time="0" tests="1" errors="1" name="undefined">
<testcase time="0" name="org.eslint.remark-lint:final-newline"><failure message="Missing newline character at end of file"><![CDATA[line 1, col 1, Warning - Missing newline character at end of file (remark-lint:final-newline)]]></failure></testcase>
</testsuite>
</testsuites>
7.0.0

6 months ago

7.1.0

6 months ago

6.1.0

10 months ago

6.0.0

10 months ago

5.0.0

1 year ago

4.0.0

2 years ago

3.0.0

3 years ago

2.0.1

5 years ago

2.0.0

5 years ago

1.0.1

5 years ago

1.0.0

5 years ago

0.0.0

5 years ago