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

wboayue / rust-ibapi / 25713636856
92%

Build:
DEFAULT BRANCH: main
Ran 12 May 2026 04:38AM UTC
Jobs 1
Files 127
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

12 May 2026 04:36AM UTC coverage: 91.517% (+0.06%) from 91.46%
25713636856

push

github

web-flow
display_groups/sync: cover Deref + IntoIterator impls (#562)

* display_groups/sync: cover Deref + IntoIterator impls

Adds three tests exercising the previously-uncovered trait impls
on DisplayGroupSubscription:
- Subscription<T>::next reached via Deref::deref
- (&sub).into_iter (the borrowed IntoIterator impl)
- sub.into_iter (the owned, consuming IntoIterator impl)

Extracts a stubbed_subscription helper + display_group_update_response
encoder so the four tests share fixture construction.

Coverage 76% → 96% lines, 82% → 96% regions, 50% → 100% functions.
The 3 remaining lines are panic! arms inside let-else patterns,
unreachable when tests pass.

* /simplify pass: named constants, MessageBusStub::with_responses, dedupe

- stubbed_subscription: replace inline MessageBusStub literal with
  MessageBusStub::with_responses (existing constructor)
- display_group_update_response: derive from IncomingMessages::DisplayGroupUpdated
  and TEST_REQ_ID_FIRST instead of magic 68 / 9000
- Client::stubbed: server_versions::LINKING (the actual gate per C#
  EClient.cs:3449) instead of magic 176
- Drop the now-redundant WHAT comment on display_group_update_response
- Collapse 3 near-identical test bodies via assert_first_data_eq helper
- Hoist top-of-mod use for SubscriptionItem (was triplicated per test)

Side-effect: coverage 96% → 98.6% lines because helper consolidation
reduced instrumented sites.

Async sibling display_groups/async.rs has the same 176/9000/68 warts
but is out of scope; can be aligned in a separate sweep.

27 of 28 new or added lines in 1 file covered. (96.43%)

1 existing line in 1 file now uncovered.

18803 of 20546 relevant lines covered (91.52%)

28.43 hits per line

Uncovered Changes

Lines Coverage ∆ File
1
98.28
21.96% src/display_groups/sync.rs

Coverage Regressions

Lines Coverage ∆ File
1
87.77
-0.18% src/transport/sync/mod.rs
Jobs
ID Job ID Ran Files Coverage
1 25713636856.1 12 May 2026 04:38AM UTC 127
91.52
GitHub Action Run
Source Files on build 25713636856
  • Tree
  • List 127
  • Changed 3
  • Source Changed 1
  • Coverage Changed 3
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Github Actions Build #25713636856
  • f7549231 on github
  • Prev Build on main (#25713354892)
  • Next Build on main (#25716162121)
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc