• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

valkyrjaio / sindri-java / 27855701989
100%

Build:
DEFAULT BRANCH: 26.x
Ran 20 Jun 2026 01:12AM UTC
Jobs 1
Files 80
Run time 1min
Badge
Embed ▾
README BADGES
x

If you need to use a raster PNG badge, change the '.svg' to '.png' in the link

Markdown

Textile

RDoc

HTML

Rst

20 Jun 2026 01:11AM UTC coverage: 98.039% (+33.7%) from 64.314%
27855701989

push

github

web-flow
[Tests] Add per-class tests for full coverage (#25)

# Description

Brings the Sindri test suite up to the same standard and organization as
the Valkyrja Java repo: one dedicated `<Class>Test` per code-bearing
class, license header, `io.sindri.unit.<ns>` packages mirroring the
source tree, and explicit imports. Line coverage goes from 62.54% → 100%
(993/993, no exclusions). `Sindri.main` is exercised under
`Exiter.freeze()` against `valkyrja:26.1.1`, whose `Exiter` fix prevents
the test JVM from exiting.

Mockito was added to the JUnit build (same versions as Valkyrja) to mock
framework contracts. The big generator/AST orchestration
(`GenerateDataFromAst`, `GenerateDataFromConfigCommand`, `ConfigReader`)
is covered end-to-end by an integration test that writes a
self-consistent, package-correct mini-app into a `@TempDir` and runs the
real generator, asserting the four `App*Data.java` files are produced —
keeping all generated output inside the temp dir.

---

## Types of Changes

- [x] Improvement _(non-breaking change which improves code)_
- [ ] Bug fix _(non-breaking change which fixes an issue)_
- [ ] New feature _(non-breaking change which adds functionality)_
- [ ] Deprecation _(breaking change which removes functionality)_
- [ ] Breaking change _(fix or feature that would cause existing
functionality to change)_
- [ ] Documentation improvement

---

## Changes

- **`.github/ci/junit/build.gradle.kts`** — added `mockito-core` /
`mockito-junit-jupiter` (`5.14.2`); bumped `io.valkyrja:valkyrja` to
`26.1.1`
- **`build.gradle.kts`** /
**`.github/ci/{spotbugs,errorprone,archunit}/build.gradle.kts`** —
bumped `io.valkyrja:valkyrja` to `26.1.1` for consistency
- **`.github/ci/junit/src/test/java/io/sindri/unit/**`** — added
dedicated per-class tests for all previously-untested code-bearing
classes: 7 exceptions, the `GenerateStatus` enum, both constant holders,
8 data records, 8 result records (incl. `merge()`), 5 AST readers,
`ConfigReader`, `FileGener... (continued)

257 of 282 branches covered (91.13%)

Branch coverage included in aggregate %.

993 of 993 relevant lines covered (100.0%)

4.2 hits per line

Jobs
ID Job ID Ran Files Coverage
1 27855701989.1 20 Jun 2026 01:12AM UTC 80
98.04
GitHub Action Run
Source Files on build 27855701989
  • Tree
  • List 80
  • Changed 29
  • Source Changed 0
  • Coverage Changed 29
Coverage ∆ File Lines Relevant Covered Missed Hits/Line Branch Hits Branch Misses
  • Back to Repo
  • Github Actions Build #27855701989
  • f7971000 on github
  • Prev Build on 26.x (#27853560648)
  • Next Build on 26.x (#27855753807)
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc