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

zulip / zulip / 5581 / 4
3%
master: 3%

Build:
DEFAULT BRANCH: master
Ran 05 Oct 2016 05:50PM UTC
Files 253
Run time 14s
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

05 Oct 2016 05:40PM UTC coverage: 87.216% (-0.2%) from 87.417%
TEST_SUITE=backend

push

travis-ci

Tim Abbott
Optimize checks of test database state by moving into Python.

Previously, the generate-fixtures shell script by called into Django
multiple times in order to check whether the database was in a
reasonable state.  Since there's a lot of overhead to starting up
Django, this resulted in `test-backend` and `test-js-with-casper`
being quite slow to run a single small test (2.8s or so) even on my
very fast laptop.

We fix this is by moving the checks into a new Python library, so that
we can avoid paying the Django startup overhead 3 times unnecessarily.
The result saves about 1.2s (~40%) from the time required to run a
single backend test.

Fixes #1221.

20616 of 23638 relevant lines covered (87.22%)

0.87 hits per line

Source Files on job 5581.4 (TEST_SUITE=backend)
  • Tree
  • List 0
  • Changed 9
  • Source Changed 0
  • Coverage Changed 9
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Build 5581
  • Travis Job 5581.4
  • dbeab6aa on github
  • Prev Job for TEST_SUITE=backend on master (#5569.3)
  • Next Job for TEST_SUITE=backend on master (#5595.4)
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