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

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

Build:
Build:
LAST BUILD BRANCH: fix/negotiated-format-fallback
DEFAULT BRANCH: master
Ran 23 Sep 2026 08:02AM 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

23 Sep 2026 08:02AM UTC coverage: 99.657% (+0.6%) from 99.027%
35834912375

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 and for
  an array param at the root (`Validators::Base#validate_elements!`):
  nothing is tracked, 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.
- `Types::MultipleTypeCoercer` and `Types::VariantCollectionCoercer`
  with `coerce_with` given as an object r... (continued)
Pull Request #2983: Spec untested branches in error messages, middleware, the router and DSL readers

1485 of 1505 branches covered (98.67%)

Branch coverage included in aggregate %.

10 of 10 new or added lines in 7 files covered. (100.0%)

4329 of 4329 relevant lines covered (100.0%)

29069.48 hits per line

Jobs
ID Job ID Ran Files Coverage
1 run-4.0-gemfiles/rails_7_2.gemfile - 35834912375.1 23 Sep 2026 08:03AM UTC 168
98.49
GitHub Action Run
2 run-3.3-gemfiles/rack_3_0.gemfile - 35834912375.2 23 Sep 2026 08:03AM UTC 167
98.51
GitHub Action Run
3 run-4.0-gemfiles/grape_swagger.gemfile - 35834912375.3 23 Sep 2026 08:03AM UTC 166
53.27
GitHub Action Run
4 run-3.3-gemfiles/rails_8_0.gemfile - 35834912375.4 23 Sep 2026 08:04AM UTC 168
98.51
GitHub Action Run
5 run-4.0-gemfiles/multi_json_1_20.gemfile - 35834912375.5 23 Sep 2026 08:02AM UTC 166
46.0
GitHub Action Run
6 run-3.4-gemfiles/rack_3_0.gemfile - 35834912375.6 23 Sep 2026 08:03AM UTC 167
98.49
GitHub Action Run
7 run-4.0-gemfiles/rack_2_2.gemfile - 35834912375.7 23 Sep 2026 08:03AM UTC 167
98.46
GitHub Action Run
8 run-3.4-gemfiles/rails_7_2.gemfile - 35834912375.8 23 Sep 2026 08:04AM UTC 168
98.49
GitHub Action Run
9 run-4.0-gemfiles/rails_8_0.gemfile - 35834912375.9 23 Sep 2026 08:03AM UTC 168
98.49
GitHub Action Run
10 run-4.0-gemfiles/rack_3_0.gemfile - 35834912375.10 23 Sep 2026 08:03AM UTC 167
98.49
GitHub Action Run
11 run-4.0-gemfiles/hashie.gemfile - 35834912375.11 23 Sep 2026 08:03AM UTC 166
59.96
GitHub Action Run
12 run-3.3-gemfiles/rack_3_1.gemfile - 35834912375.12 23 Sep 2026 08:03AM UTC 167
98.51
GitHub Action Run
13 run-4.0-gemfiles/multi_xml_0_8.gemfile - 35834912375.13 23 Sep 2026 08:02AM UTC 166
45.69
GitHub Action Run
14 run-3.3-gemfiles/rails_8_1.gemfile - 35834912375.14 23 Sep 2026 08:03AM UTC 168
98.51
GitHub Action Run
15 run-3.4-gemfiles/rails_8_0.gemfile - 35834912375.15 23 Sep 2026 08:03AM UTC 168
98.49
GitHub Action Run
16 run-4.0-Gemfile - 35834912375.16 23 Sep 2026 08:03AM UTC 167
98.49
GitHub Action Run
17 run-4.0-gemfiles/multi_xml.gemfile - 35834912375.17 23 Sep 2026 08:03AM UTC 166
45.66
GitHub Action Run
18 run-4.0-gemfiles/dry_validation.gemfile - 35834912375.18 23 Sep 2026 08:03AM UTC 166
55.93
GitHub Action Run
19 run-4.0-gemfiles/multi_json.gemfile - 35834912375.19 23 Sep 2026 08:03AM UTC 166
45.97
GitHub Action Run
20 run-3.4-gemfiles/rails_8_1.gemfile - 35834912375.20 23 Sep 2026 08:03AM UTC 168
98.49
GitHub Action Run
21 run-4.0-gemfiles/rack_3_2.gemfile - 35834912375.21 23 Sep 2026 08:03AM UTC 167
98.49
GitHub Action Run
22 run-3.4-gemfiles/rack_3_1.gemfile - 35834912375.22 23 Sep 2026 08:03AM UTC 167
98.49
GitHub Action Run
23 run-3.4-gemfiles/rack_2_2.gemfile - 35834912375.23 23 Sep 2026 08:03AM UTC 167
98.46
GitHub Action Run
24 run-4.0-gemfiles/rails_8_1.gemfile - 35834912375.24 23 Sep 2026 08:03AM UTC 168
98.49
GitHub Action Run
25 run-3.3-gemfiles/rack_3_2.gemfile - 35834912375.25 23 Sep 2026 08:03AM UTC 167
98.51
GitHub Action Run
26 run-4.0-gemfiles/rack_3_1.gemfile - 35834912375.26 23 Sep 2026 08:03AM UTC 167
98.49
GitHub Action Run
27 run-3.4-gemfiles/rack_3_2.gemfile - 35834912375.27 23 Sep 2026 08:03AM UTC 167
98.49
GitHub Action Run
28 run-3.3-Gemfile - 35834912375.28 23 Sep 2026 08:03AM UTC 167
98.51
GitHub Action Run
29 run-3.3-gemfiles/rails_7_2.gemfile - 35834912375.29 23 Sep 2026 08:03AM UTC 168
98.51
GitHub Action Run
30 run-3.4-Gemfile - 35834912375.30 23 Sep 2026 08:03AM UTC 167
98.49
GitHub Action Run
31 run-3.3-gemfiles/rack_2_2.gemfile - 35834912375.31 23 Sep 2026 08:03AM UTC 167
98.47
GitHub Action Run
32 run-4.0-gemfiles/grape_entity.gemfile - 35834912375.32 23 Sep 2026 08:02AM UTC 166
48.74
GitHub Action Run
Source Files on build 35834912375
  • Tree
  • List 168
  • Changed 24
  • Source Changed 9
  • Coverage Changed 24
Coverage ∆ File Lines Relevant Covered Missed Hits/Line Branch Hits Branch Misses
  • Back to Repo
  • Github Actions Build #35834912375
  • 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