Esc

COMARK3608 · warning

comark/tests/not-junit

Show a JUnit report in ::tests

::tests reads JUnit reports, whose root is <testsuites> or <testsuite>. Any other XML, such as a coverage report, renders nothing. Most runners write JUnit with a reporter option, such as Vitest's --reporter=junit.

Incorrect

::tests
```xml
<coverage line-rate="0.9"/>
```
::
md
lint-comark example.mdexample.md:1:1 comark/tests/not-junit::tests 1: it isn't a JUnit report: its root is <coverage>, not <testsuites> or <testsuite>.Change the block as the message says.✖ 1 problem

Correct

::tests
```xml
<testsuite>
  <testcase name="counts the ducks"/>
</testsuite>
```
::
md
lint-comark example.md✔ No problems