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

valkyrjaio / valkyrja-starter-app-ts / 27863937280
100%

Build:
DEFAULT BRANCH: 26.x
Ran 20 Jun 2026 07:14AM UTC
Jobs 1
Files 17
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 07:14AM UTC coverage: 100.0%. First build
27863937280

push

github

web-flow
[Application] Align structure with PHP and Java and add a full unit test suite (#42)

# Description

`application` had no test suite (coverage reported `0/0`) and had
drifted structurally from the PHP and Java applications. This PR brings
it in line with the other ports and to 100% line, branch, and function
coverage (55 tests), so all three language apps now match in structure
and coverage.

Two things were going on:

1. **Structural drift from PHP/Java.** The route providers were named
`RouteProvider` instead of `CliRouteProvider` / `HttpRouteProvider`, the
`Http/App` entry was missing, and the Http app carried an orphan
`AppCliRoutingData` that neither PHP nor Java has. The imperative
`getRoutes()` routing model is intentionally kept — TS has no
decorators/attributes, so there is no `getControllerClasses()`, matching
how Go and Python will work too. The intentionally-unported `Model` /
`Orm` / `Throwable` modules are left out, consistent with the Java app.

2. **Broken test setup.** `vitest.config.ts` used a relative
`../../../tests` glob with no root, so coverage measured nothing — the
same misconfiguration already fixed in `valkyrja` and `sindri`.

---

## 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

- **`src/App/Cli/Provider/CliRouteProvider.ts`** — renamed from
`RouteProvider.ts`; class renamed `RouteProvider` → `CliRouteProvider`
to match PHP/Java
- **`src/App/Http/Provider/HttpRouteProvider.ts`** — renamed from
`RouteProvider.ts`; class renamed `RouteProvider` → `HttpRouteProvider`
- **`src/App/Cli/Provider/ComponentProvider.ts`** /
**`src/App/Http/Provider/ComponentProvider.ts`** ... (continued)

8 of 8 branches covered (100.0%)

Branch coverage included in aggregate %.

3 of 3 new or added lines in 3 files covered. (100.0%)

72 of 72 relevant lines covered (100.0%)

1.76 hits per line

Jobs
ID Job ID Ran Files Coverage
1 27863937280.1 20 Jun 2026 07:14AM UTC 17
100.0
GitHub Action Run
Source Files on build 27863937280
  • Tree
  • List 17
  • 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 #27863937280
  • d5f87b71 on github
  • Next Build on 26.x (#27881082798)
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