Skip to content

tests: expand correctness coverage - #177

Merged
rgerhards merged 1 commit into
masterfrom
codex/expand-correctness-tests
Jul 23, 2026
Merged

tests: expand correctness coverage#177
rgerhards merged 1 commit into
masterfrom
codex/expand-correctness-tests

Conversation

@rgerhards

@rgerhards rgerhards commented Jul 23, 2026

Copy link
Copy Markdown
Member

Summary

  • exercise serializer buffer boundaries, callback short writes, and FILE output
  • add file/FD and array API regression coverage
  • remove unsupported and orphaned test artifacts

Validation

  • make check (20 tests)
  • make distcheck
  • coverage build: 80.7% production lines, 90.2% production functions

Summary by cubic

Expands test coverage for JSON serialization and array/file APIs, including buffer boundaries, short writes, and FILE/FD I/O. Cleans up unsupported tests and updates the test suite.

  • New Features
    • Added array API regression tests: add/get/sort/bsearch, put_idx/del_idx, and sparse slots.
    • Expanded serializer coverage: buffered size boundaries, short-write handling via callbacks, FILE* writes, pretty/plain output, and size queries.
    • Added json_util tests for to/from file and from FD with offset; removed obsolete NUL-string and custom serializer tests and updated tests/Makefile.am.

Written for commit 3635695. Summary will update on new commits.

Review in cubic

@rgerhards rgerhards added this to the 1.2607.0 milestone Jul 23, 2026
@rgerhards rgerhards self-assigned this Jul 23, 2026
@rgerhards rgerhards added the CI label Jul 23, 2026
@rgerhards
rgerhards marked this pull request as ready for review July 23, 2026 13:57
@rgerhards
rgerhards merged commit ad683c1 into master Jul 23, 2026
20 checks passed
@rgerhards
rgerhards deleted the codex/expand-correctness-tests branch July 23, 2026 13:58
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant