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

mtlynch / GreenPiThumb_Frontend / 32
70%
master: 47%

Build:
Build:
LAST BUILD BRANCH: link-repos
DEFAULT BRANCH: master
Ran 15 Apr 2017 07:11PM UTC
Jobs 1
Files 5
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

pending completion
32

push

travis-ci

mtlynch
Adding unit test support for HTTP handler

Switching from the klein web framework to Flask because Flask directly supports
unit testing, whereas klein does not.

Adding unit test coverage for the HTTP request serving logic.

Note: The unit tests use mock.Mock(spec_set=...) here because they're mocking out
dependencies in the GreenPiThumb backend and we've had bugs from the backend
library and the frontend library going out of sync. Setting an explicit mock
spec_set means that our tests will fail if we try to mock out a method that doesn't
really exist on the interface we're mocking.

18 of 18 new or added lines in 2 files covered. (100.0%)

46 of 66 relevant lines covered (69.7%)

0.7 hits per line

New Missed Lines in Diff

Lines Coverage ∆ File
2
100.0
server/server.py
Jobs
ID Job ID Ran Files Coverage
1 32.1 15 Apr 2017 07:11PM UTC 0
69.7
Travis Job 32.1
Source Files on build 32
Detailed source file information is not available for this build.
  • Back to Repo
  • Travis Build #32
  • 3fe79492 on github
  • Next Build on refactor-klein (#33)
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