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

kobotoolbox / kpi / 18881234622
81%
master: 76%

Build:
Build:
LAST BUILD BRANCH: dev-1257-remove-v1-forms-endpoint
DEFAULT BRANCH: master
Ran 28 Oct 2025 04:37PM UTC
Jobs 2
Files 877
Run time 2min
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.347%. Remained the same
18881234622

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.

7071 of 11112 branches covered (63.63%)

27344 of 33614 relevant lines covered (81.35%)

1.6 hits per line

Uncovered Existing Lines

Lines Coverage ∆ File
1
75.0
-2.5% kobo/apps/openrosa/apps/django_digest_backends/cache.py
Jobs
ID Job ID Ran Files Coverage
1 18881234622.1 28 Oct 2025 04:37PM UTC 875
78.95
2 18881234622.2 28 Oct 2025 04:45PM UTC 877
81.31
Source Files on build 18881234622
  • Tree
  • List 877
  • Changed 2
  • Source Changed 0
  • Coverage Changed 2
Coverage ∆ File Lines Relevant Covered Missed Hits/Line Branch Hits Branch Misses
  • Back to Repo
  • 37e982d7 on github
  • Prev Build on main (#18875897021)
  • Next Build on main (#18881223702)
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

© 2025 Coveralls, Inc