Test report and coverage for the Android app issue #19 closed: completed andymccall opened this · 0 comments
andymccall set labels feature ·
closed by change 8a657957d5a0 ·
andymccall referenced by change 03f2c0361594 on main ·
andymccall set labels feature ·
closed by change 8a657957d5a0 ·
andymccall referenced by change 03f2c0361594 on main ·
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.Here:
./gradlew testDebugUnitTest koverXmlReportDebug(Kover, or Gradle's jacoco plugin) in a job once the app has CI at all: it has none until OxygenFlow has an Android image (oxygenflow#19). Gradle writes JUnit XML per test class: merge them into onejunit.xml(one ) in the job. Coverage comes out as JaCoCo XML, which the hub learns to read in https://oxygenhub.io/andymccall/oxygenhub/issue/308. The screenshot tests (validateDebugScreenshotTest) belong in the same job, so a changed screen fails the run.