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

wboayue / rust-ibapi / 25292026881
92%

Build:
DEFAULT BRANCH: main
Ran 03 May 2026 10:02PM UTC
Jobs 1
Files 123
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

03 May 2026 10:00PM UTC coverage: 87.823% (-0.5%) from 88.304%
25292026881

push

github

web-flow
test(news,scanner,wsh): builders + body-verifying test migration (#501)

* test(news,scanner,wsh): builders + body-verifying test migration

PR 6 of the test-builder rollout.

- Add request builders in src/testdata/builders/{news,scanner,wsh}.rs;
  contract_news/broad_tape_news reuse MarketDataRequestBuilder.
- Migrate sync/async tests to assert_request<B>(builder); move inline
  mod tests blocks to sibling _tests.rs files.
- Drop self-loop encoder tests in {news,scanner,wsh}/common/encoders.rs
  and the inline wsh/mod.rs::common_tests encoder asserts.
- Remove dead MessageBus/AsyncMessageBus::request_messages trait
  methods (only consumers were the migrated sync tests, which now
  call MessageBusStub::request_messages directly).

* test(builders): address PR review feedback

- Rename cancel_by_request_id_builder! to single_req_id_request_builder!.
  The macro is reused for non-cancel single-req_id requests
  (WshMetaDataRequest), mirroring production's encode_cancel_by_id!.
- HistoricalNewsRequestBuilder::default contract_id is now TEST_CONTRACT_ID
  (was 0, encoded as Some(0) in tests that forget to override).
- Drop dead _silence helper + unused request_message_count import in
  wsh/sync_tests.rs.
- Drop redundant path attribute in wsh/mod.rs common_tests declaration.

* test(news): apply /simplify cleanup

- Replace magic 8314 contract id with TEST_CONTRACT_ID; lets the
  builder use its default and drops a redundant .contract_id() setter.
- Extract repeated 84|9000|... news article response literal to a
  file-local NEWS_ARTICLE_RESPONSE const (5 callsites).

188 of 192 new or added lines in 3 files covered. (97.92%)

17388 of 19799 relevant lines covered (87.82%)

25.57 hits per line

Uncovered Changes

Lines Coverage ∆ File
4
95.83
src/testdata/builders/news.rs
Jobs
ID Job ID Ran Files Coverage
1 25292026881.1 03 May 2026 10:02PM UTC 123
87.82
GitHub Action Run
Source Files on build 25292026881
  • Tree
  • List 123
  • Changed 16
  • Source Changed 16
  • Coverage Changed 14
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Github Actions Build #25292026881
  • e9fc6d43 on github
  • Prev Build on main (#25290840637)
  • Next Build on main (#25292054471)
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