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

dangernoodle-io / breadboard / 30146136383
97%

Build:
DEFAULT BRANCH: main
Ran 25 Jul 2026 05:41AM UTC
Jobs 1
Files 198
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

25 Jul 2026 05:39AM UTC coverage: 96.535%. Remained the same
30146136383

push

github

web-flow
test: port openapi emit tests to the stream emitter (#1069)

- port 223 assertions across 58 functions in test_openapi_emit.c off
  bb_openapi_emit()/bb_json_* onto bb_openapi_emit_stream() via
  test_openapi_capture(), matching the PR-3 pattern; this is a pure
  reorder -- the RUN_TEST count is identical before and after this commit
- deliberately retain the 19 test_openapi_emit_oom_* functions unported,
  still driving bb_openapi_emit() + bb_json_host_force_alloc_fail_after():
  they exercise tree-emitter allocation-failure branches inside
  build_operation()/build_response() with no stream-path analogue (the
  stream path never allocates a tree node); deleting them now would drop
  bb_openapi_emit_tree.c own branch coverage before that file is deleted
  in B1-1054 PR 6, so code and tests leave together instead
- test_openapi_emit.c therefore still references bb_json_*/bb_json.h by
  design -- the file top comment states this explicitly so a later
  reader does not mistake it for a missed port
- test_openapi_emit_null_meta_returns_null is likewise retained unported:
  CI (not local coverage) caught that it was the SOLE cover for
  bb_openapi_emit_tree.c's own NULL-meta guard (lines 208-209), which the
  ported stream call never touches; a new sibling
  test_openapi_emit_stream_null_meta_returns_invalid_arg carries the
  stream-path assertion (status == BB_ERR_INVALID_ARG, doc == NULL) that
  had been folded into the original test, so both the tree guard and the
  stream guard now have a dedicated, non-overlapping cover
- test_openapi_emit_defaults_for_omitted_fields is a new retained
  tree-path test covering 8 build_operation() default/fallback branches
  (Coveralls, not local gcc, caught this -- macOS gcc/gcov doesn't
  instrument these ternaries the same way as CI's gcc 13.3): parameter
  name/in/schema_type all NULL, a non-NULL zero-length parameters array,
  a request schema with no explicit content type, a response with a NULL
  description, a... (continued)

7780 of 8377 branches covered (92.87%)

Branch coverage included in aggregate %.

13252 of 13410 relevant lines covered (98.82%)

2575.35 hits per line

Jobs
ID Job ID Ran Files Coverage
1 30146136383.1 25 Jul 2026 05:41AM UTC 198
96.53
GitHub Action Run
Source Files on build 30146136383
  • Tree
  • List 198
  • Changed 0
  • Source Changed 0
  • Coverage Changed 0
Coverage ∆ File Lines Relevant Covered Missed Hits/Line Branch Hits Branch Misses
  • Back to Repo
  • Github Actions Build #30146136383
  • df7e669d on github
  • Prev Build on main (#30142770683)
  • Next Build on main (#30149394583)
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