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

dblock / grape / 33993564537
99%
master: 97%

Build:
Build:
LAST BUILD BRANCH: standardize-error-messages
DEFAULT BRANCH: master
Ran 05 Sep 2026 09:37PM 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 09:36PM UTC coverage: 99.196% (+0.3%) from 98.934%
33993564537

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>

1291 of 1334 branches covered (96.78%)

Branch coverage included in aggregate %.

4013 of 4013 relevant lines covered (100.0%)

27271.76 hits per line

Jobs
ID Job ID Ran Files Coverage
1 run-3.4-gemfiles/rack_2_2.gemfile - 33993564537.1 05 Sep 2026 09:37PM UTC 168
97.85
GitHub Action Run
2 run-4.0-gemfiles/multi_json.gemfile - 33993564537.2 05 Sep 2026 09:37PM UTC 167
47.58
GitHub Action Run
3 run-3.4-Gemfile - 33993564537.3 05 Sep 2026 09:37PM UTC 168
97.9
GitHub Action Run
4 run-3.4-gemfiles/rack_3_2.gemfile - 33993564537.4 05 Sep 2026 09:37PM UTC 168
97.88
GitHub Action Run
5 run-4.0-gemfiles/grape_entity.gemfile - 33993564537.5 05 Sep 2026 09:37PM UTC 167
50.35
GitHub Action Run
6 run-3.4-gemfiles/rails_8_0.gemfile - 33993564537.6 05 Sep 2026 09:37PM UTC 169
97.89
GitHub Action Run
7 run-4.0-gemfiles/rails_7_2.gemfile - 33993564537.7 05 Sep 2026 09:37PM UTC 169
97.89
GitHub Action Run
8 run-3.4-gemfiles/rack_3_1.gemfile - 33993564537.8 05 Sep 2026 09:37PM UTC 168
97.9
GitHub Action Run
9 run-3.3-gemfiles/rack_2_2.gemfile - 33993564537.9 05 Sep 2026 09:37PM UTC 168
97.88
GitHub Action Run
10 run-4.0-gemfiles/hashie.gemfile - 33993564537.10 05 Sep 2026 09:37PM UTC 167
61.83
GitHub Action Run
11 run-3.3-gemfiles/rails_8_1.gemfile - 33993564537.11 05 Sep 2026 09:37PM UTC 169
97.9
GitHub Action Run
12 run-4.0-gemfiles/multi_xml.gemfile - 33993564537.12 05 Sep 2026 09:37PM UTC 167
47.06
GitHub Action Run
13 run-3.3-gemfiles/rack_3_1.gemfile - 33993564537.13 05 Sep 2026 09:37PM UTC 168
97.92
GitHub Action Run
14 run-4.0-gemfiles/dry_validation.gemfile - 33993564537.14 05 Sep 2026 09:37PM UTC 167
57.84
GitHub Action Run
15 run-3.3-gemfiles/rack_3_2.gemfile - 33993564537.15 05 Sep 2026 09:37PM UTC 168
97.92
GitHub Action Run
16 run-3.4-gemfiles/rack_3_0.gemfile - 33993564537.16 05 Sep 2026 09:37PM UTC 168
97.88
GitHub Action Run
17 run-3.4-gemfiles/rails_7_2.gemfile - 33993564537.17 05 Sep 2026 09:37PM UTC 169
97.9
GitHub Action Run
18 run-4.0-gemfiles/multi_xml_0_8.gemfile - 33993564537.18 05 Sep 2026 09:37PM UTC 167
47.09
GitHub Action Run
19 run-3.3-gemfiles/rack_3_0.gemfile - 33993564537.19 05 Sep 2026 09:37PM UTC 168
97.9
GitHub Action Run
20 run-4.0-gemfiles/rack_3_2.gemfile - 33993564537.20 05 Sep 2026 09:37PM UTC 168
97.9
GitHub Action Run
21 run-3.3-Gemfile - 33993564537.21 05 Sep 2026 09:37PM UTC 168
97.9
GitHub Action Run
22 run-4.0-gemfiles/rack_3_1.gemfile - 33993564537.22 05 Sep 2026 09:37PM UTC 168
97.9
GitHub Action Run
23 run-3.3-gemfiles/rails_7_2.gemfile - 33993564537.23 05 Sep 2026 09:37PM UTC 169
97.9
GitHub Action Run
24 run-4.0-gemfiles/grape_swagger.gemfile - 33993564537.24 05 Sep 2026 09:37PM UTC 167
55.28
GitHub Action Run
25 run-4.0-gemfiles/rack_3_0.gemfile - 33993564537.25 05 Sep 2026 09:37PM UTC 168
97.9
GitHub Action Run
26 run-4.0-gemfiles/multi_json_1_20.gemfile - 33993564537.26 05 Sep 2026 09:37PM UTC 167
47.62
GitHub Action Run
27 run-3.4-gemfiles/rails_8_1.gemfile - 33993564537.27 05 Sep 2026 09:37PM UTC 169
97.9
GitHub Action Run
28 run-3.3-gemfiles/rails_8_0.gemfile - 33993564537.28 05 Sep 2026 09:37PM UTC 169
97.9
GitHub Action Run
29 run-4.0-gemfiles/rails_8_0.gemfile - 33993564537.29 05 Sep 2026 09:37PM UTC 169
97.89
GitHub Action Run
30 run-4.0-gemfiles/rails_8_1.gemfile - 33993564537.30 05 Sep 2026 09:37PM UTC 169
97.89
GitHub Action Run
31 run-4.0-gemfiles/rack_2_2.gemfile - 33993564537.31 05 Sep 2026 09:37PM UTC 168
97.85
GitHub Action Run
32 run-4.0-Gemfile - 33993564537.32 05 Sep 2026 09:37PM UTC 168
97.9
GitHub Action Run
Source Files on build 33993564537
  • Tree
  • List 169
  • Changed 11
  • Source Changed 0
  • Coverage Changed 11
Coverage ∆ File Lines Relevant Covered Missed Hits/Line Branch Hits Branch Misses
  • Back to Repo
  • Github Actions Build #33993564537
  • 7d493319 on github
  • Prev Build on add-coverage-100 (#33993389504)
  • 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