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

bradleyjkemp / cupaloy / 173
95%

Build:
DEFAULT BRANCH: master
Ran 20 Sep 2018 07:13PM UTC
Jobs 2
Files 3
Run time 3min
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

20 Sep 2018 07:11PM UTC coverage: 95.376%. Remained the same
173

push

travis-ci

bradleyjkemp
Fail tests if no snapshot exists (#43)

* Update cupaloy.go

```
cupaloy.Global = cupaloy.Global.WithOptions(
		cupaloy.CreateNewAutomatically(false),
		cupaloy.EnvVariableName(updateSnapshotsEnv),
		cupaloy.FailOnUpdate(false),
		cupaloy.ShouldUpdate(func() bool { return updateSnapshot}),
		cupaloy.SnapshotSubdirectory(updateSnapshotsDir),
	)
```

Sorry missed this earlier. This is the set of config I'm using. When snapshots don't exist and I'm running in bazel setting it is not failing as expected.

* Update unit tests

* Update assert called with mock.Anything

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

165 of 173 relevant lines covered (95.38%)

2.1 hits per line

Jobs
ID Job ID Ran Files Coverage
1 173.1 20 Sep 2018 07:13PM UTC 0
95.38
Travis Job 173.1
2 173.2 20 Sep 2018 07:17PM UTC 0
95.38
Travis Job 173.2
Source Files on build 173
Detailed source file information is not available for this build.
  • Back to Repo
  • Travis Build #173
  • 5859e8d5 on github
  • Prev Build on master (#169)
  • Next Build on master (#176)
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