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

valkyrjaio / valkyrja-starter-app-java / 27856302533
100%

Build:
DEFAULT BRANCH: 26.x
Ran 20 Jun 2026 01:38AM UTC
Jobs 1
Files 22
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:37AM UTC coverage: 100.0%. First build
27856302533

push

github

web-flow
[Tests] Add unit tests and align with the PHP application (#27)

# Description

Brings the Java application skeleton to 100% line coverage (149/149),
aligns it with the PHP application repo, and corrects its Maven
coordinates for publishing.

**Versioning & coordinates** — bumped `io.valkyrja:valkyrja` from
`26.1.0` to `26.1.1` across all build files; corrected Maven group from
`com.example` to `io.valkyrja` so the app publishes as
`io.valkyrja:application`.

**PHP alignment** — renamed `RouteProvider` to `CliRouteProvider` /
`HttpRouteProvider` matching PHP's `App\{Cli,Http}\Provider`; corrected
the configs' `dataNamespace` / `dataPath` from the wrong
`app.*.provider.data` to `app.cli.data` / `app.http.data`, matching PHP
(`App\Cli\Data`) and where the `DataServiceProvider`s actually read;
removed the stale `app/http/provider/data/` directory.

**Tests** — added Mockito to the JUnit build; excluded `app.http.App` /
`app.http.CgiApp` from JaCoCo (they extend the framework's
`ExchangeHttp` / `ExchangeCgiHttp` server bootstraps — same exclusion
rationale Valkyrja uses); added per-class tests for every data record,
config, provider, controller, `TestCommand`, the abstract controllers,
and `cli/App.main` (via `Exiter.freeze()`, working thanks to `26.1.1`).

Not yet PHP-matched (no Java port yet — flagged for future work):
`App\Model`, `App\Orm` (Entity/Repository),
`App\Throwable\Handler\ThrowableHandler` (extends Whoops), and the http
route handlers' View/`ViewResponseFactory` and dynamic-route variants.

---

## Types of Changes

- [x] Improvement _(non-breaking change which improves code)_
- [x] 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

- **`build.gradle.kts`** / **`.githu... (continued)

6 of 6 branches covered (100.0%)

Branch coverage included in aggregate %.

149 of 149 relevant lines covered (100.0%)

4.61 hits per line

Jobs
ID Job ID Ran Files Coverage
1 27856302533.1 20 Jun 2026 01:38AM UTC 22
100.0
GitHub Action Run
Source Files on build 27856302533
  • Tree
  • List 22
  • Changed 0
  • Source Changed 0
  • Coverage Changed 0
Coverage ∆ File Lines Relevant Covered Missed Hits/Line Branch Hits Branch Misses
  • Back to Repo
  • Github Actions Build #27856302533
  • e1ebf488 on github
  • Next Build on 26.x (#27864143431)
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