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

kobotoolbox / kpi / 18881234622 / 2
81%
master: 76%

Build:
Build:
LAST BUILD BRANCH: refactor-subsequences-2025
DEFAULT BRANCH: master
Ran 28 Oct 2025 04:45PM UTC
Files 877
Run time 40s
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 Oct 2025 04:05PM UTC coverage: 81.314% (+2.4%) from 78.948%
18881234622.2

push

github

web-flow
test(xforms): improve xform list API tests DEV-1188 (#6413)

### 💭 Notes
Update XForm list api tests to be more sensitive to changes in the
request flow. Recently we had a few bugs make it into production that
had to do with how the request is handled before it gets to the view.
Since the existing tests were only at the view level, it did not catch
the errors.
While including the whole request processing in test makes it less of a
"unit" test, it makes the tests more likely to catch errors that occur
as a result of the combination of view code and request processing code.
Since the view code relies on information set by django's request
processing, it makes sense to test them together.
There is more consolidation that could be done on these tests as many
are probably redundant (especially testing anonymous access to various
endpoints) but that is outside the scope of this work.


### 👀 Preview steps
Unit-test only, but a good verification is to locally revert the changes
from https://github.com/kobotoolbox/kpi/pull/6412 and
https://github.com/kobotoolbox/kpi/pull/6397, and run the test suite.
Several tests should fail, then succeed when the changes are put back
in.

7117 of 11173 branches covered (63.7%)

27333 of 33614 relevant lines covered (81.31%)

0.81 hits per line

Source Files on job 18881234622.2
  • Tree
  • List 877
  • Changed 31
  • Source Changed 0
  • Coverage Changed 31
Coverage ∆ File Lines Relevant Covered Missed Hits/Line Branch Hits Branch Misses
  • Back to Build 18881234622
  • 37e982d7 on github
  • Prev Job for on main (#18875897021.1)
  • Next Job for on main (#18881223702.1)
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