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

valkyrjaio / valkyrja-ts / 30237514553
100%

Build:
DEFAULT BRANCH: 26.x
Ran 27 Jul 2026 04:35AM UTC
Jobs 1
Files 302
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

27 Jul 2026 04:35AM UTC coverage: 100.0%. Remained the same
30237514553

push

github

web-flow
[Cli] Add routing argument/option combination tests (#89)

# Description

Adds argument/option binding combination tests for CLI routing,
mirroring the PHP
reference (valkyrjaio/valkyrja-php#924) and completing the framework
routing test effort
across PHP, Java, and TypeScript.

The existing `Router` tests covered default/array argument binding, an
empty default
argument, and option binding by name and short name. This adds the
remaining permutations a
developer relies on so they can trust that any command they define is
bound and validated
correctly. Test-only; no source changes.

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

- **`tests/Tests/Unit/Cli/Routing/Dispatcher/Router.test.ts`** — added
binding tests through `dispatch`: multiple inputs collected into an
`ARRAY` option; an option parameter that matches zero inputs; a `NONE`
flag that receives a value throws; a missing `REQUIRED` option throws; a
`DEFAULT` option that receives more than one value throws; and a missing
`REQUIRED` argument throws.

1585 of 1585 branches covered (100.0%)

Branch coverage included in aggregate %.

3466 of 3466 relevant lines covered (100.0%)

23.24 hits per line

Jobs
ID Job ID Ran Files Coverage
1 30237514553.1 27 Jul 2026 04:35AM UTC 302
100.0
GitHub Action Run
Source Files on build 30237514553
  • Tree
  • List 302
  • 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 #30237514553
  • c17088b3 on github
  • Prev Build on 26.x (#30237203412)
  • Next Build on 26.x (#30322573145)
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE TRIAL · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc