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

keeppythonweird / catinabox / 278
44%
master: 71%

Build:
Build:
LAST BUILD BRANCH: tutorial_wip
DEFAULT BRANCH: master
Ran 28 May 2016 11:44PM UTC
Jobs 2
Files 6
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

pending completion
278

push

travis-ci

bobcatfish
Add refatoring slide example

This is the example that will be in our slides for refatoring
for unit testability.

This example shows a method `setup_cats` which is doing several
things. The refactored version still does 2 things, however it
is gluing together separate single responsibilty functions
(arguably it would be a cleaner interface to have two functions
called by the user: one a factory for cats, one to feed cats!)

26 of 59 relevant lines covered (44.07%)

0.88 hits per line

Jobs
ID Job ID Ran Files Coverage
1 278.1 28 May 2016 11:44PM UTC 0
44.07
Travis Job 278.1
2 278.2 28 May 2016 11:44PM UTC 0
44.07
Travis Job 278.2
Source Files on build 278
  • Tree
  • List 0
  • Changed 0
  • Source Changed 0
  • Coverage Changed 0
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Travis Build #278
  • 251c3af5 on github
  • Prev Build on refactor_slide_example (#251)
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