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

keeppythonweird / catinabox / 278 / 2
44%
master: 71%

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

28 May 2016 11:44PM UTC coverage: 44.068%. Remained the same
278.2

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.44 hits per line

Source Files on job 278.2
  • Tree
  • List 0
  • Changed 0
  • Source Changed 0
  • Coverage Changed 0
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Build 278
  • Travis Job 278.2
  • 251c3af5 on github
  • Prev Job for on refactor_slide_example (#251.2)
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