v0.19 test coverage #1452

Open
opened 2026-06-08 16:30:59 +00:00 by vyzo · 0 comments
Owner

As part of the v0.19 effort, we want to substantially increase unit test coverage. Note that it is appropriate to use LLMs to help with unit tests.

Here is a list of modules/packages that have been ported so far but have insufficient coverage. We update as the porting effort advances:

  • std/net
    • std/net/address -- package has basic coverage but we need more
    • std/net/url -- no unit test; pretty good tests in #1455.
    • std/net/uri -- no unit test. test in #1461.
    • std/net/http -- decent coverage once httpd is ported but we should have unit tests for client stuffs.
    • stfd/net/ssl -- good coverage
  • std/serde -- package has basic coverage, but we need more
  • std/format -- package has basic coverage, but we need more
  • std/string -- some coverage
  • std/struct -- package still being ported
  • std/sync -- some coverage
  • std/iter -- good coverage
  • std/io -- good coverage
  • std/list -- good coverage
  • std/time -- no unit tests, implicit coverage
  • std/text
    • std/text/pregexp -- no unit tests, implicit coverage only
  • std/encoding
    • std/encoding/zlib -- good coverage
  • Add general utilities in std/test for testing one way and two way test vectors.
  • Add test vectors for libcrypto
As part of the v0.19 effort, we want to substantially increase unit test coverage. Note that it is appropriate to use LLMs to help with unit tests. Here is a list of modules/packages that have been ported so far but have insufficient coverage. We update as the porting effort advances: - [ ] std/net - [ ] std/net/address -- package has basic coverage but we need more - [x] std/net/url -- ~no unit test;~ pretty good tests in #1455. - [x] std/net/uri -- ~no unit test.~ test in #1461. - [ ] std/net/http -- decent coverage once httpd is ported but we should have unit tests for client stuffs. - [x] stfd/net/ssl -- good coverage - [ ] std/serde -- package has basic coverage, but we need more - [ ] std/format -- package has basic coverage, but we need more - [ ] std/string -- some coverage - [ ] std/struct -- package still being ported - [ ] std/sync -- some coverage - [x] std/iter -- good coverage - [x] std/io -- good coverage - [x] std/list -- good coverage - [ ] std/time -- no unit tests, implicit coverage - [ ] std/text - [ ] std/text/pregexp -- no unit tests, implicit coverage only - [ ] std/encoding - [x] std/encoding/zlib -- good coverage - [ ] Add general utilities in std/test for testing one way and two way test vectors. - [ ] Add test vectors for libcrypto
vyzo self-assigned this 2026-06-08 16:31:07 +00:00
Sign in to join this conversation.
No milestone
No project
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
mighty-gerbils/gerbil#1452
No description provided.