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

maxatome / go-testdeep / 533
100%
master: 100%

Build:
Build:
LAST BUILD BRANCH: go126
DEFAULT BRANCH: master
Ran 27 Nov 2019 10:13PM UTC
Jobs 1
Files 70
Run time 5s
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

27 Nov 2019 10:10PM UTC coverage: 97.581% (-0.008%) from 97.589%
533

push

travis-ci

maxatome
Add TestDeep.As() method

  type MyStruct struct {
    PNum  *int
    Num   int64
    Str   string
  }

  t.Cmp(got, MyStruct{
    PNum: testdeep.Ptr(testdeep.Between(40, 45)).As(t).(*int),
    Num:  testdeep.Between(int64(135), int64(137)).As(t).(int64),
    Str:  testdeep.HasPrefix("Pipo").As(t, "").(string),
  })

Signed-off-by: Maxime Soulé <btik-git@scoubidou.com>

331 of 331 new or added lines in 33 files covered. (100.0%)

5648 of 5788 relevant lines covered (97.58%)

578.66 hits per line

Jobs
ID Job ID Ran Files Coverage
5 533.5 (GO_TEST_SAFE_FLAGS="-covermode=atomic -coverprofile=coverage-safe.out ./..." GO_TEST_UNSAFE_FLAGS="-covermode=atomic -coverprofile=coverage-unsafe.out ./..." USE_LINTER=1) 27 Nov 2019 10:13PM UTC 0
97.58
Travis Job 533.5
Source Files on build 533
Detailed source file information is not available for this build.
  • Back to Repo
  • Travis Build #533
  • 41b2204c on github
  • Prev Build on anchor (#506)
  • Next Build on anchor (#534)
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