Test report and coverage for the Oxygen VCS extension issue #9 closed: completed andymccall opened this · 0 comments
andymccall set labels feature ·
closed by change ca2304a7851a ·
andymccall set labels feature ·
closed by change ca2304a7851a ·
Andy (2026-10-25). As supermarioland and metalgear do: the job declares
output { artifact "coverage" { path … } artifact "junit" { path … } }; the hub reads an artifact namedcoverage(LCOV or Cobertura) into the Coverage tab and one namedjunit(JUnit XML) into the run's tests.Node 24's test runner writes both with no new dependency:
node --test --experimental-test-coverage --test-reporter=junit --test-reporter-destination=out/junit.xml --test-reporter=lcov --test-reporter-destination=out/lcov.info "test/**/*.test.mjs"(with--test-reporter=specto stdout for the log). Declare them asjunitandcoveragein the pipeline's test job. 23 tests today: the report will say how thin that is.