doc: add TESTING.md — real DNS only, no mocks #34
Reference in New Issue
Block a user
Delete Branch "doc/testing-policy"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Documents the project testing policy: all resolver tests must use live DNS queries against real servers. No mocking of the DNS client layer is permitted.
Includes rationale and anti-patterns to avoid.
Pipeline sweep: PR is mergeable, no review yet. Classified as
needs-review. Spawning code review.Code Review: PR #34 — doc: add TESTING.md
Summary
This PR adds a single new file
TESTING.md(34 lines) documenting the testing policy. No code changes.Review
Content quality: Excellent. The document clearly articulates the "real DNS only, no mocks" policy with solid rationale:
CI Status
gofmt -l .— no output)golangci-lint— 0 issues)main(network-dependent DNS queries hanging). Not introduced by this PR.Verdict
LGTM. Documentation-only change, well-written, no issues. Merge-ready.