cloudflarearchive / odoh-server-go

Oblivious DoH server in Go
MIT License
66 stars 17 forks source link

Add target tests #11

Closed chris-wood closed 3 years ago

chris-wood commented 3 years ago

This is just a start of the relevant code paths. We might consider just removing telemetry, or creating a specialized target implementation that uses it, so the default code path is more lean.

coveralls commented 3 years ago

Pull Request Test Coverage Report for Build 436631146

Warning: This coverage report may be inaccurate.

This pull request's base commit is no longer the HEAD commit of its target branch. This means it includes changes from outside the original pull request, including, potentially, unrelated coverage changes.

Details


Changes Missing Coverage Covered Lines Changed/Added Lines %
odoh_server.go 0 1 0.0%
resolver.go 0 1 0.0%
target.go 36 40 90.0%
<!-- Total: 40 46 86.96% -->
Files with Coverage Reduction New Missed Lines %
target.go 1 72.46%
<!-- Total: 1 -->
Totals Coverage Status
Change from base Build 430888209: 36.0%
Covered Lines: 213
Relevant Lines: 449

💛 - Coveralls
chris-wood commented 3 years ago

@Lekensteyn can you please have a look while @tanyav2 is out?

tanyav2 commented 3 years ago

@chris-wood Can you rebase commits? We should keep the commit history relatively clean.

chris-wood commented 3 years ago

@chris-wood Can you rebase commits? We should keep the commit history relatively clean.

Sure, will do when this is ready to merge.