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

trotzig / diffux / 332 / 1
99%
master: 99%

Build:
DEFAULT BRANCH: master
Ran 31 Mar 2014 12:11AM UTC
Files 32
Run time 2s
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

31 Mar 2014 12:05AM UTC coverage: 98.664% (+0.2%) from 98.497%
2.0.0

push

travis-ci

trotzig
Always show the snapshot image on the snapshot#show page

A recent commit (8b94b558094) removed the before and after image from
the snapshot#show page. This was a win in case the snapshot was in a
state where it had a non-zero diff because we saved a lot of space by
not rendering the before and after images. However, when the snapshot
had a zero diff and when it didn't have a baseline to compare against,
you wouldn't see the snapshot image at all.

I added the image back in two places. I also added an alert to explain
the state when there is no baseline to compare against.

The spec coverage for all of this is not great. But I did add some smoke
tests just to make sure that the page would render with snapshots in
different states. And while doing that I found a bug in the snapshot
factory that I fixed.

591 of 599 relevant lines covered (98.66%)

38.61 hits per line

Source Files on job 332.1 (2.0.0)
  • Tree
  • List 0
  • Changed 8
  • Source Changed 0
  • Coverage Changed 8
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Build 332
  • Travis Job 332.1
  • e280981b on github
  • Prev Job for 2.0.0 on master (#331.1)
  • Next Job for 2.0.0 on master (#333.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