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

dblock / grape
99%
master: 97%

Build:
Build:
LAST BUILD BRANCH: standardize-error-messages
DEFAULT BRANCH: master
Repo Added 15 Jun 2022 03:04AM UTC
Token vwfxnsYI15eHhSbtL461xDH074PQ5mN6f regen
Build 75 Last
Files 169
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

LAST BUILD ON BRANCH improve-branch-coverage
branch: improve-branch-coverage
CHANGE BRANCH
x
Reset
Sync Branches
  • improve-branch-coverage
  • add-agents-md
  • add-coverage-100
  • fix-badges
  • fix/auth-base-subclass-issue-2669
  • fix/json-load-create-additions
  • fix/json-use-parse
  • funding
  • master
  • migrate-danger-pr-comment
  • rack-version-specs
  • simplify-workflow
  • standardize-error-messages
  • support-open-ranges-values

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

Relevant lines Covered
Build:
Build:
4013 RELEVANT LINES 4013 COVERED LINES
27271.76 HITS PER LINE
Source Files on improve-branch-coverage
  • Tree
  • List 169
  • Changed 11
  • Source Changed 0
  • Coverage Changed 11
Coverage ∆ File Lines Relevant Covered Missed Hits/Line Branch Hits Branch Misses

Recent builds

Builds Branch Commit Type Ran Committer Via Coverage
33993564537 improve-branch-coverage 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, an... push 05 Sep 2026 09:37PM UTC dblock github
99.2
33993400533 improve-branch-coverage 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, an... push 05 Sep 2026 09:34PM UTC dblock github
99.2
33993287982 improve-branch-coverage 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, an... push 05 Sep 2026 09:31PM UTC dblock github
99.2
33982671186 improve-branch-coverage Merge branch 'master' into improve-branch-coverage push 05 Sep 2026 06:00PM UTC web-flow github
99.16
33936559544 improve-branch-coverage 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, an... push 05 Sep 2026 01:34AM UTC dblock github
99.12
33936251768 improve-branch-coverage 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, an... push 05 Sep 2026 01:28AM UTC dblock github
99.11
33873733377 improve-branch-coverage 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, an... push 04 Sep 2026 12:37PM UTC dblock github
99.1
33869124388 improve-branch-coverage 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) - ... Pull #3 04 Sep 2026 11:41AM UTC dblock github
99.05
33868019064 improve-branch-coverage 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) - ... Pull #3 04 Sep 2026 11:27AM UTC dblock github
99.05
See All Builds (57)

Badge your Repo: grape

We detected this repo isn’t badged! Grab the embed code to the right, add it to your repo to show off your code coverage, and when the badge is live hit the refresh button to remove this message.

Could not find badge in README.

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

Refresh
  • Settings
  • Repo on GitHub
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