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

steinfletcher / apitest
94%
master: 84%

Build:
Build:
LAST BUILD BRANCH: feature/circleci
DEFAULT BRANCH: master
Repo Added 30 Jan 2019 09:34PM UTC
Files 7
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

LAST BUILD ON BRANCH feature/support-url-host-in-matcher
branch: feature/support-url-host-in-matcher
CHANGE BRANCH
x
Reset
  • feature/support-url-host-in-matcher
  • feature/add-more-mock-debug
  • feature/add_cookie_response_matcher
  • feature/assert
  • feature/circleci
  • feature/mock-custom-matcher-funcs
  • master
  • v1.0.0
  • v1.0.0-alpha.10
  • v1.0.0-alpha.11
  • v1.0.0-alpha.12
  • v1.0.0-alpha.13
  • v1.0.0-alpha.8
  • v1.0.0-alpha.9
  • v1.0.1
  • v1.0.10
  • v1.0.11
  • v1.0.12
  • v1.0.3
  • v1.0.4
  • v1.0.6
  • v1.0.7
  • v1.0.8
  • v1.0.9
  • v1.1.0

pending completion
322

Pull #27

travis-ci

web-flow
Support r.URL.Host in host matcher

Previously, only r.Host from the incoming request was used to match
the expected mock host. This change supports r.URL.Host if r.Host
is not present.

Go http client docs specifies that both are valid:

```
For client requests Host optionally overrides the Host
header to send. If empty, the Request.Write method uses
the value of URL.Host. Host may contain an international
domain name.
```
Pull Request #27: Support r.URL.Host in host matcher

3 of 3 new or added lines in 1 file covered. (100.0%)

1141 of 1211 relevant lines covered (94.22%)

17.05 hits per line

Relevant lines Covered
Build:
Build:
1211 RELEVANT LINES 1141 COVERED LINES
17.05 HITS PER LINE
Source Files on feature/support-url-host-in-matcher
  • Tree
  • List 0
  • Changed 1
  • Source Changed 1
  • Coverage Changed 1
Coverage ∆ File Lines Relevant Covered Missed Hits/Line

Recent builds

Builds Branch Commit Type Ran Committer Via Coverage
322 feature/support-url-host-in-matcher Support r.URL.Host in host matcher Previously, only r.Host from the incoming request was used to match the expected mock host. This change supports r.URL.Host if r.Host is not present. Go http client docs specifies that both are valid: ``` For ... Pull #27 07 Mar 2019 04:17PM UTC web-flow travis-ci pending completion  
321 feature/support-url-host-in-matcher Support r.URL.Host in host matcher Previously, only r.Host from the incoming request was used to match the expected mock host. This change supports r.URL.Host if r.Host is not present. Go http client docs specifies that both are valid: ``` For ... push 07 Mar 2019 04:17PM UTC gaw508 travis-ci pending completion  
See All Builds (277)
  • Repo on GitHub
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

© 2025 Coveralls, Inc