Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

query: add tests #36

Merged
merged 3 commits into from
Feb 21, 2025
Merged

query: add tests #36

merged 3 commits into from
Feb 21, 2025

Conversation

bschaatsbergen
Copy link
Contributor

@bschaatsbergen bschaatsbergen commented Feb 21, 2025

This pull request introduces tests to introspect the domain, query types, and errors when querying through the Query and MultiQuery methods. By using the DNSClient interface, we're able to mock the underlying query mechanism and simulate sending a real DNS question without needing to query an actual server.

@github-actions github-actions bot added the tests label Feb 21, 2025
@mmourick mmourick merged commit 2960f30 into main Feb 21, 2025
2 checks passed
@mmourick mmourick deleted the add-query-tests branch February 21, 2025 16:24
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.

2 participants