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

luci / luci-go
67%
master: 62%

Build:
Build:
LAST BUILD BRANCH: experimental/riannucci/slides
DEFAULT BRANCH: master
Repo Added 10 Apr 2015 02:54PM UTC
Files 57
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 infra/config
branch: infra/config
CHANGE BRANCH
x
Reset
  • infra/config
  • 3_archive
  • experimental/riannucci/slides
  • master

pending completion
157

push

travis-ci

riannucci
Add testing/assertions.

This assertion is helpful for expecting error outputs. Normally if you do:
  So(err.Error(), ShouldContainSubstring, "foobar")

it could panic with an unhelpful and confusing stacktrace if err is actually
nil. This CL would replace the above construction with:
  So(err, ShouldErrLike, "foobar")

Which is simultaneously safer and more concise.

R=dnj@google.com, maruel@chromium.org, dnj@chromium.org
BUG=

Review URL: https://codereview.chromium.org/1290813004 .

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

4656 of 6942 relevant lines covered (67.07%)

8397.6 hits per line

Relevant lines Covered
Build:
Build:
6942 RELEVANT LINES 4656 COVERED LINES
8397.6 HITS PER LINE
Source Files on infra/config
  • List 0
  • Changed 0
  • Source Changed 0
  • Coverage Changed 0
Coverage ∆ File Lines Relevant Covered Missed Hits/Line

Recent builds

Builds Branch Commit Type Ran Committer Via Coverage
157 infra/config Add testing/assertions. This assertion is helpful for expecting error outputs. Normally if you do: So(err.Error(), ShouldContainSubstring, "foobar") it could panic with an unhelpful and confusing stacktrace if err is actually nil. This CL woul... push 14 Aug 2015 08:53PM UTC riannucci travis-ci pending completion  
See All Builds (407)
  • 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