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

zulip / zulip / 438 / 7
3%
master: 3%

Build:
DEFAULT BRANCH: master
Ran 21 Feb 2017 08:34PM UTC
Files 335
Run time 18s
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

21 Feb 2017 07:43PM UTC coverage: 90.085% (+0.3%) from 89.815%
TEST_SUITE=backend

push

travis-ci

timabbott
Make events test more robust for apply_events calls.

We now make tests that call EventsRegisterTest.do_test()
explicitly specify whether calls to apply_events() would
change the state of initially fetched data.  Generally
these tests exist to test that logic (as well as verifying
schemas of events), so if they stop testing that logic, it
is usually a broken test.

Some tests are exempted from the check here, because I think
they don't really change state--such as updating messages or
notifications.  You can set state_change_expected to False
for those tests.

For all the tests that deal with flipping boolean flags, I
set their value to False before calling do_test twice now.

For the authentication backends, I mock the settings so that
more backends are "supported" and therefore part of the event
and the fetched state.

Finally, for the bot tests, I make sure to use a bot the user
can access.

26831 of 29784 relevant lines covered (90.09%)

0.9 hits per line

Source Files on job 438.7 (TEST_SUITE=backend)
  • Tree
  • List 0
  • Changed 19
  • Source Changed 17
  • Coverage Changed 18
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Build 438
  • Travis Job 438.7
  • 19280590 on github
  • Prev Job for TEST_SUITE=backend on master (#437.7)
  • Next Job for TEST_SUITE=backend on master (#12896.6)
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