Skip to content

codec: improve test coverage#23

Open
dnldd wants to merge 1 commit intobisoncraft:masterfrom
dnldd:improve-codec-tests
Open

codec: improve test coverage#23
dnldd wants to merge 1 commit intobisoncraft:masterfrom
dnldd:improve-codec-tests

Conversation

@dnldd
Copy link
Copy Markdown
Contributor

@dnldd dnldd commented Mar 20, 2026

  • Add tests covering deadline errors, message validation, proto unmarshal/write errors, and boundary conditions
  • Create mockStream for controlled error injection in tests
  • Document deadline detection behavior and libp2p mock stream assumptions
  • Increase test coverage from 62.4% to 90.8%

- Add tests covering deadline errors, message validation, proto
  unmarshal/write errors, and boundary conditions
- Create mockStream for controlled error injection in tests
- Document deadline detection behavior and libp2p mock stream
  assumptions
- Increase test coverage from 62.4% to 90.8%
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant