[GH-ISSUE #2444] Unify integration tests #991

Closed
opened 2026-03-16 01:12:06 +03:00 by kerem · 1 comment
Owner

Originally created by @divergentdave on GitHub (Sep 9, 2024).
Original GitHub issue: https://github.com/hickory-dns/hickory-dns/issues/2444

There are currently 29 integration test targets, across all the crates. This blog post by matklad recommends combining the tests into one integration test target per crate, with multiple submodules holding the various tests. This can decrease test compile time by reducing the number of times the linker has to run, and reduce disk/CI cache usage by eliminating redundancy between many test executables.

Originally created by @divergentdave on GitHub (Sep 9, 2024). Original GitHub issue: https://github.com/hickory-dns/hickory-dns/issues/2444 There are currently 29 integration test targets, across all the crates. [This blog post by matklad](https://matklad.github.io/2021/02/27/delete-cargo-integration-tests.html) recommends combining the tests into one integration test target per crate, with multiple submodules holding the various tests. This can decrease test compile time by reducing the number of times the linker has to run, and reduce disk/CI cache usage by eliminating redundancy between many test executables.
kerem closed this issue 2026-03-16 01:12:12 +03:00
Author
Owner

@djc commented on GitHub (Sep 10, 2024):

Makes sense.

<!-- gh-comment-id:2340223130 --> @djc commented on GitHub (Sep 10, 2024): Makes sense.
Sign in to join this conversation.
No milestone
No project
No assignees
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
starred/hickory-dns#991
No description provided.