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

wboayue / rust-ibapi / 25258750129
92%

Build:
DEFAULT BRANCH: main
Ran 02 May 2026 06:26PM UTC
Jobs 1
Files 112
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

02 May 2026 06:25PM UTC coverage: 87.582% (-2.3%) from 89.836%
25258750129

push

github

web-flow
refactor(test): remove MockGateway, collapse client/{sync,async} (PR 5/5) (#480)

Per todos/eliminate-mock-gateway.md PR 5 and the audit table.

Deletions (~6,400 LOC):
- client/sync/tests.rs (2,555 LOC, MockGateway-driven)
- client/async/tests.rs (2,527 LOC, MockGateway-driven)
- client/test_support/{mocks,scenarios,mod}.rs (~1,300 LOC)

Migrations:
- client/builders/{sync,async}.rs MockGateway test blocks now use
  Client::stubbed + MessageBusStub::default(). The fixtures only ever
  needed a Client instance, not a real gateway.

Layout:
- client/sync/{mod.rs,tests.rs} -> client/sync.rs (flat sibling, per
  CLAUDE.md item 13: a directory module that exists only to host
  tests.rs collapses to flat).
- client/async/{mod.rs,tests.rs} -> client/async.rs (same).
- client/mod.rs drops `mod test_support;`.

Coverage parity preserved:
- 109 of 117 deleted tests were duplicates of per-domain MessageBusStub
  tests (verified in todos/eliminate-mock-gateway-audit.md).
- 6 unique tests (handshake x2, disconnect x4) migrated in PR 4 to
  connection/{sync,async}_tests.rs via MemoryStream.
- 3 parity gaps closed in PR 4.

45 of 45 new or added lines in 2 files covered. (100.0%)

326 existing lines in 18 files now uncovered.

16871 of 19263 relevant lines covered (87.58%)

25.46 hits per line

Coverage Regressions

Lines Coverage ∆ File
107
63.69
-20.34% src/transport/sync/mod.rs
87
45.38
-23.64% src/transport/async.rs
26
90.57
-3.89% src/messages.rs
18
82.64
-14.88% src/orders/async/mod.rs
18
71.19
-10.17% src/subscriptions/sync.rs
15
0.0
-78.95% src/transport/async_io.rs
9
89.66
-3.1% src/market_data/realtime/common/decoders/mod.rs
7
72.66
-5.47% src/connection/async.rs
6
89.28
-1.61% src/connection/common.rs
6
84.09
-6.82% src/market_data/realtime/sync/mod.rs
6
73.08
-4.62% src/transport/routing.rs
5
87.95
-6.02% src/market_data/realtime/async/mod.rs
4
92.14
-2.86% src/connection/sync.rs
4
97.78
-2.22% src/orders/common/encoders.rs
3
69.51
-3.66% src/orders/common/stream_decoders.rs
3
88.03
-2.56% src/transport/mod.rs
1
73.12
-1.08% src/market_data/realtime/mod.rs
1
94.29
-0.95% src/scanner/sync.rs
Jobs
ID Job ID Ran Files Coverage
1 25258750129.1 02 May 2026 06:25PM UTC 112
87.58
GitHub Action Run
Source Files on build 25258750129
  • Tree
  • List 112
  • Changed 20
  • Source Changed 2
  • Coverage Changed 20
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Github Actions Build #25258750129
  • b22534d2 on github
  • Prev Build on main (#25257614989)
  • Next Build on main (#25259370474)
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