• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

m-lab / ndt7-client-go / 61 / 1
100%
main: 88%

Build:
Build:
LAST BUILD BRANCH: netreplica-branch2
DEFAULT BRANCH: main
Ran 29 May 2019 11:37AM UTC
Files 9
Run time 1s
Badge
Embed ▾
README BADGES
x

If you need to use a raster PNG badge, change the '.svg' to '.png' in the link

Markdown

Textile

RDoc

HTML

Rst

29 May 2019 11:32AM UTC coverage: 100.0%. Remained the same
61.1

push

travis-ci

bassosimone
Avoid publicly exposing an interface

Long time ago @evfirerob mentioned to me that in Go it's more
idiomatic for the consumer to enforce interfaces if needed.

However, my initial stab at this branch was exposing the
HTTPRequestor interface that I actually initially created
to simplify testing and was not meant to be shared.

This knowledge about interfaces resurfaced today when I was
re-reading my diff, and I realized it's probably better to
expose an `*http.Client` rather than an interface.

This simplification does not seem to complicate much more
testing, and rather allows to hide some details of the way
in which we do testing, so I think it's an improvement.

401 of 401 relevant lines covered (100.0%)

1.09 hits per line

Source Files on job 61.1
  • Tree
  • List 0
  • Changed 0
  • Source Changed 0
  • Coverage Changed 0
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Build 112
  • Travis Job 61.1
  • 7cb24d0e on github
  • Prev Job for on fix/extensibility (#62.1)
  • Next Job for on fix/extensibility (#63.1)
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc