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

dblock / grape / 33936251768
99%
master: 97%

Build:
Build:
LAST BUILD BRANCH: standardize-error-messages
DEFAULT BRANCH: master
Ran 05 Sep 2026 01:28AM UTC
Jobs 32
Files 169
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

05 Sep 2026 01:27AM UTC coverage: 99.106% (+0.3%) from 98.845%
33936251768

push

github

dblock
Improve branch coverage for exceptions, namespace, router, testing and translation utilities

Adds direct unit tests to exercise previously-uncovered branches:
- Grape::Exceptions::Base#translate_message (Proc/Hash-pattern/plain-value branches, and the Hash-without-:key error case)
- Grape::Exceptions::RequestError (new spec file)
- Grape::Exceptions::Validation (message omitted case)
- Grape::Middleware::Base (instance-level #default_options fallback)
- Grape::Middleware::Error (#resolved_backtrace fallback chain, InvalidVersionHeader precedence)
- Grape::Middleware::Stack::Middleware#== (non-Middleware/non-Class comparison)
- Grape::Middleware::Versioner::Header (skips media-type matching without a vendor)
- Grape::Namespace.joined_space
- Grape::Router::BaseRoute#initialize (ActiveSupport::OrderedOptions wrapping)
- Grape::Router::MustermannPattern (:param capture syntax, Integer vs. default constraint)
- Grape::Router::Pattern::Path#suffix (non-path versioning)
- Grape::Testing (missing block / no registered hooks)
- Grape::Util::Translation#translate (explicit locale / explicit default / fallback-locale retry)

Also marks one genuinely unreachable branch (comment-only, not deleted,
per project convention):
- Grape::DSL::Routing#version's trailing `@versions&.last` — @versions
  is unconditionally reassigned to an Array a few lines above, so the
  `&.` can never see nil.

Raises the full-matrix branch coverage from 95.58% (1278/1337) to
96.85% (1324/1367), while keeping line coverage at 100%. Not aiming for
100% branch coverage; only the easy, high-signal gaps were closed.

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>

1293 of 1339 branches covered (96.56%)

Branch coverage included in aggregate %.

4028 of 4030 relevant lines covered (99.95%)

27099.16 hits per line

Jobs
ID Job ID Ran Files Coverage
1 run-3.3-gemfiles/rack_2_2.gemfile - 33936251768.1 05 Sep 2026 01:28AM UTC 168
97.8
GitHub Action Run
2 run-4.0-gemfiles/grape_entity.gemfile - 33936251768.2 05 Sep 2026 01:28AM UTC 167
50.31
GitHub Action Run
3 run-4.0-Gemfile - 33936251768.3 05 Sep 2026 01:28AM UTC 168
97.82
GitHub Action Run
4 run-3.4-gemfiles/rails_8_1.gemfile - 33936251768.4 05 Sep 2026 01:28AM UTC 169
97.82
GitHub Action Run
5 run-3.3-gemfiles/rails_7_2.gemfile - 33936251768.5 05 Sep 2026 01:29AM UTC 169
97.84
GitHub Action Run
6 run-4.0-gemfiles/multi_xml_0_8.gemfile - 33936251768.6 05 Sep 2026 01:29AM UTC 167
47.01
GitHub Action Run
7 run-3.3-Gemfile - 33936251768.7 05 Sep 2026 01:30AM UTC 168
97.82
GitHub Action Run
8 run-3.4-Gemfile - 33936251768.8 05 Sep 2026 01:29AM UTC 168
97.82
GitHub Action Run
9 run-4.0-gemfiles/rails_7_2.gemfile - 33936251768.9 05 Sep 2026 01:29AM UTC 169
97.82
GitHub Action Run
10 run-4.0-gemfiles/rack_2_2.gemfile - 33936251768.10 05 Sep 2026 01:29AM UTC 168
97.78
GitHub Action Run
11 run-4.0-gemfiles/hashie.gemfile - 33936251768.11 05 Sep 2026 01:28AM UTC 167
61.7
GitHub Action Run
12 run-4.0-gemfiles/multi_xml.gemfile - 33936251768.12 05 Sep 2026 01:29AM UTC 167
46.97
GitHub Action Run
13 run-4.0-gemfiles/multi_json.gemfile - 33936251768.13 05 Sep 2026 01:28AM UTC 167
47.5
GitHub Action Run
14 run-4.0-gemfiles/dry_validation.gemfile - 33936251768.14 05 Sep 2026 01:29AM UTC 167
57.73
GitHub Action Run
15 run-3.4-gemfiles/rails_8_0.gemfile - 33936251768.15 05 Sep 2026 01:28AM UTC 169
97.82
GitHub Action Run
16 run-4.0-gemfiles/rack_3_2.gemfile - 33936251768.16 05 Sep 2026 01:29AM UTC 168
97.82
GitHub Action Run
17 run-4.0-gemfiles/rack_3_1.gemfile - 33936251768.17 05 Sep 2026 01:28AM UTC 168
97.82
GitHub Action Run
18 run-3.4-gemfiles/rack_2_2.gemfile - 33936251768.18 05 Sep 2026 01:28AM UTC 168
97.78
GitHub Action Run
19 run-3.4-gemfiles/rack_3_1.gemfile - 33936251768.19 05 Sep 2026 01:28AM UTC 168
97.82
GitHub Action Run
20 run-4.0-gemfiles/rails_8_0.gemfile - 33936251768.20 05 Sep 2026 01:29AM UTC 169
97.8
GitHub Action Run
21 run-3.3-gemfiles/rails_8_1.gemfile - 33936251768.21 05 Sep 2026 01:29AM UTC 169
97.84
GitHub Action Run
22 run-3.3-gemfiles/rails_8_0.gemfile - 33936251768.22 05 Sep 2026 01:28AM UTC 169
97.82
GitHub Action Run
23 run-3.3-gemfiles/rack_3_2.gemfile - 33936251768.23 05 Sep 2026 01:29AM UTC 168
97.84
GitHub Action Run
24 run-4.0-gemfiles/rails_8_1.gemfile - 33936251768.24 05 Sep 2026 01:29AM UTC 169
97.82
GitHub Action Run
25 run-3.4-gemfiles/rack_3_2.gemfile - 33936251768.25 05 Sep 2026 01:29AM UTC 168
97.82
GitHub Action Run
26 run-3.3-gemfiles/rack_3_0.gemfile - 33936251768.26 05 Sep 2026 01:28AM UTC 168
97.82
GitHub Action Run
27 run-4.0-gemfiles/grape_swagger.gemfile - 33936251768.27 05 Sep 2026 01:28AM UTC 167
55.16
GitHub Action Run
28 run-4.0-gemfiles/rack_3_0.gemfile - 33936251768.28 05 Sep 2026 01:28AM UTC 168
97.82
GitHub Action Run
29 run-3.4-gemfiles/rails_7_2.gemfile - 33936251768.29 05 Sep 2026 01:28AM UTC 169
97.8
GitHub Action Run
30 run-3.3-gemfiles/rack_3_1.gemfile - 33936251768.30 05 Sep 2026 01:29AM UTC 168
97.84
GitHub Action Run
31 run-3.4-gemfiles/rack_3_0.gemfile - 33936251768.31 05 Sep 2026 01:28AM UTC 168
97.82
GitHub Action Run
32 run-4.0-gemfiles/multi_json_1_20.gemfile - 33936251768.32 05 Sep 2026 01:29AM UTC 167
47.54
GitHub Action Run
Source Files on build 33936251768
  • Tree
  • List 169
  • Changed 12
  • Source Changed 2
  • Coverage Changed 12
Coverage ∆ File Lines Relevant Covered Missed Hits/Line Branch Hits Branch Misses
  • Back to Repo
  • Github Actions Build #33936251768
  • 6d091949 on github
  • Prev Build on add-coverage-100 (#33936229766)
  • Next Build on improve-branch-coverage (#33936559544)
  • Delete
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