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

ruby-grape / grape / 35793976734
100%
master: 100%

Build:
Build:
LAST BUILD BRANCH: fix/negotiated-format-fallback
DEFAULT BRANCH: master
Ran 22 Sep 2026 10:44PM UTC
Jobs 32
Files 168
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

22 Sep 2026 10:44PM UTC coverage: 99.469% (+0.4%) from 99.027%
35793976734

Pull #2983

github

ericproulx
Spec untested branches in error messages, middleware, the router and DSL readers

Covers branches no spec reached:

- `Exceptions::Base#compose_message` skipping a step whose translation
  is blank (a step missing from the locale was already covered).
- `Middleware::Error` answering its failsafe response on an env without
  `rack.errors`, which Rack::Lint rejects and rack-test cannot send.
- `Middleware::Formatter` passing through a request that announces a
  body but carries none: no `rack.input` (optional since Rack 3.1), or
  a chunked input that reads empty.
- `Router::BaseRoute` with a route naming a param twice: its captures
  cannot be read off the union match, so it has none of its own, in the
  router's union or in any bucket, and Mustermann answers every
  position.
- `Router::RouteBuckets#segment_key` with a path that has fewer
  segments than the position the buckets split on: it names no bucket,
  and the request goes to the fallback.
- `Grape::Testing`'s `reset_before_each` on an endpoint class no hook
  was ever registered on. The suite's `after` hook only reached that
  depending on example order.
- `ParamsScope` validators run on their own, outside the request's
  ParamScopeTracker, for a `given` scope within an array param: the
  qualifying params are neither stored nor read, and what is missing is
  still reported.
- `optional :all, using:` with a field whose options are nil: the field
  is left out, as `requires :none` already does.
- `Types::ArrayCoercer` built strict, for an Array member type in
  `types:` with `coerce_with`: the custom method's result is only
  type-checked, so a blank String is not coerced into an empty Array.
- `Types::CustomTypeCoercer` with a callable given as `type:` alongside
  `coerce_with`, as its docs describe: the callable checks the coerced
  value.
- The `format`, `default_error_formatter` and `default_error_status`
  readers, `format` raising for a format with no content type, and
  `format` accepti... (continued)
Pull Request #2983: Spec untested branches in error messages, middleware, the router and DSL readers

1476 of 1507 branches covered (97.94%)

Branch coverage included in aggregate %.

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

4330 of 4330 relevant lines covered (100.0%)

28946.41 hits per line

Jobs
ID Job ID Ran Files Coverage
1 run-4.0-gemfiles/grape_entity.gemfile - 35793976734.1 22 Sep 2026 10:45PM UTC 166
48.72
GitHub Action Run
2 run-4.0-gemfiles/multi_json.gemfile - 35793976734.2 22 Sep 2026 10:45PM UTC 166
45.94
GitHub Action Run
3 run-4.0-gemfiles/rack_3_0.gemfile - 35793976734.3 22 Sep 2026 10:45PM UTC 167
98.3
GitHub Action Run
4 run-4.0-gemfiles/rails_8_0.gemfile - 35793976734.4 22 Sep 2026 10:44PM UTC 168
98.3
GitHub Action Run
5 run-3.4-Gemfile - 35793976734.5 22 Sep 2026 10:45PM UTC 167
98.3
GitHub Action Run
6 run-3.4-gemfiles/rack_3_1.gemfile - 35793976734.6 22 Sep 2026 10:45PM UTC 167
98.3
GitHub Action Run
7 run-3.3-gemfiles/rack_2_2.gemfile - 35793976734.7 22 Sep 2026 10:44PM UTC 167
98.28
GitHub Action Run
8 run-3.3-Gemfile - 35793976734.8 22 Sep 2026 10:45PM UTC 167
98.32
GitHub Action Run
9 run-4.0-gemfiles/rack_2_2.gemfile - 35793976734.9 22 Sep 2026 10:45PM UTC 167
98.27
GitHub Action Run
10 run-4.0-gemfiles/multi_json_1_20.gemfile - 35793976734.10 22 Sep 2026 10:45PM UTC 166
45.98
GitHub Action Run
11 run-4.0-gemfiles/grape_swagger.gemfile - 35793976734.11 22 Sep 2026 10:45PM UTC 166
53.25
GitHub Action Run
12 run-3.4-gemfiles/rack_3_0.gemfile - 35793976734.12 22 Sep 2026 10:45PM UTC 167
98.3
GitHub Action Run
13 run-4.0-gemfiles/rails_7_2.gemfile - 35793976734.13 22 Sep 2026 10:45PM UTC 168
98.3
GitHub Action Run
14 run-4.0-gemfiles/hashie.gemfile - 35793976734.14 22 Sep 2026 10:44PM UTC 166
59.93
GitHub Action Run
15 run-3.3-gemfiles/rack_3_2.gemfile - 35793976734.15 22 Sep 2026 10:45PM UTC 167
98.32
GitHub Action Run
16 run-3.3-gemfiles/rails_8_1.gemfile - 35793976734.16 22 Sep 2026 10:45PM UTC 168
98.32
GitHub Action Run
17 run-3.3-gemfiles/rails_8_0.gemfile - 35793976734.17 22 Sep 2026 10:45PM UTC 168
98.32
GitHub Action Run
18 run-3.4-gemfiles/rack_2_2.gemfile - 35793976734.18 22 Sep 2026 10:45PM UTC 167
98.27
GitHub Action Run
19 run-4.0-gemfiles/rack_3_2.gemfile - 35793976734.19 22 Sep 2026 10:45PM UTC 167
98.3
GitHub Action Run
20 run-4.0-Gemfile - 35793976734.20 22 Sep 2026 10:44PM UTC 167
98.3
GitHub Action Run
21 run-4.0-gemfiles/rack_3_1.gemfile - 35793976734.21 22 Sep 2026 10:44PM UTC 167
98.3
GitHub Action Run
22 run-4.0-gemfiles/multi_xml_0_8.gemfile - 35793976734.22 22 Sep 2026 10:45PM UTC 166
45.67
GitHub Action Run
23 run-3.3-gemfiles/rack_3_1.gemfile - 35793976734.23 22 Sep 2026 10:45PM UTC 167
98.32
GitHub Action Run
24 run-4.0-gemfiles/dry_validation.gemfile - 35793976734.24 22 Sep 2026 10:44PM UTC 166
55.9
GitHub Action Run
25 run-3.4-gemfiles/rails_8_1.gemfile - 35793976734.25 22 Sep 2026 10:45PM UTC 168
98.3
GitHub Action Run
26 run-3.4-gemfiles/rails_8_0.gemfile - 35793976734.26 22 Sep 2026 10:45PM UTC 168
98.3
GitHub Action Run
27 run-3.4-gemfiles/rails_7_2.gemfile - 35793976734.27 22 Sep 2026 10:45PM UTC 168
98.3
GitHub Action Run
28 run-4.0-gemfiles/rails_8_1.gemfile - 35793976734.28 22 Sep 2026 10:45PM UTC 168
98.3
GitHub Action Run
29 run-3.3-gemfiles/rails_7_2.gemfile - 35793976734.29 22 Sep 2026 10:45PM UTC 168
98.32
GitHub Action Run
30 run-3.4-gemfiles/rack_3_2.gemfile - 35793976734.30 22 Sep 2026 10:45PM UTC 167
98.3
GitHub Action Run
31 run-4.0-gemfiles/multi_xml.gemfile - 35793976734.31 22 Sep 2026 10:45PM UTC 166
45.63
GitHub Action Run
32 run-3.3-gemfiles/rack_3_0.gemfile - 35793976734.32 22 Sep 2026 10:45PM UTC 167
98.32
GitHub Action Run
Source Files on build 35793976734
  • Tree
  • List 168
  • Changed 17
  • Source Changed 8
  • Coverage Changed 17
Coverage ∆ File Lines Relevant Covered Missed Hits/Line Branch Hits Branch Misses
  • Back to Repo
  • Github Actions Build #35793976734
  • Pull Request #2983
  • PR Base - master (#35537785984)
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