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

alphagov / backdrop / 2211 / 1
92%
master: 89%

Build:
Build:
LAST BUILD BRANCH: upgrade_paas_stack
DEFAULT BRANCH: master
Ran 14 Jan 2015 12:36PM UTC
Files 63
Run time 26s
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

14 Jan 2015 12:33PM UTC coverage: 91.956%. First build
SKIP_VIRUS_SCAN=1 SKIP_SPLINTER_TESTS=1 MONGO_REPLICA_SET='' NO_AUTOPEP8=1

push

travis-ci

annapowellsmith
Add filter_by_prefix parameter for regex support

Add new filter_by_prefix parameter. This is similar to the existing
filter_by parameter, except that searches are anchored to the start of
the string.

The Mongo query is also constructed using 'find', but passed through as
{ 'pagePath': /^\\/housing-benefit.*/ } rather than { 'pagePath':
'/housing-benefit' }. Mongo will parse this as a regular expression
query.

We escape all strings passed into the filter using Python's re module.

The justification for this parameter is to support multi-part formats in
the info-frontend application - e.g. we would like to serve aggregate
statistics for the number of tickets submitted across all pages in
multi-part guides and smart answers. To do this with the existing
filter_by parameter would require a call to Backdrop for each page in
the guide or smart answer, and some of these formats have 30+ pages.

1989 of 2163 relevant lines covered (91.96%)

0.92 hits per line

Source Files on job 2211.1 (SKIP_VIRUS_SCAN=1 SKIP_SPLINTER_TESTS=1 MONGO_REPLICA_SET='' NO_AUTOPEP8=1)
  • Tree
  • List 0
  • Changed 0
  • Source Changed 0
  • Coverage Changed 0
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Build 2211
  • Travis Job 2211.1
  • 6f56fa84 on github
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