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

hypothesis / h / 7948
66%
master: 97%

Build:
Build:
LAST BUILD BRANCH: realtime-update-v1-h-only-1
DEFAULT BRANCH: master
Ran 15 Sep 2015 02:02PM UTC
Jobs 1
Files 83
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

pending completion
7948

push

travis-ci

nickstenning
Improve factoring of search/filtering

Testing and changing the the `h.api.query.build` function was getting
somewhat unwieldy.

This commit refactors the query builder into a class, `query.Builder`,
the behaviour of which can be extended by filters and matchers.

Filters return match conditions for an Elasticsearch filter which
restrict the search results to ONLY those matching the returned filter
object.

Matchers return match conditions for an Elasticsearch query, and form
part of a match clause in which annotations SHOULD match the filter to
be returned from the query.

Both filters and matchers are defined to be callables which accept the
query parameters only.

2253 of 3433 relevant lines covered (65.63%)

0.66 hits per line

Jobs
ID Job ID Ran Files Coverage
1 7948.1 15 Sep 2015 02:02PM UTC 0
65.63
Travis Job 7948.1
Source Files on build 7948
Detailed source file information is not available for this build.
  • Back to Repo
  • Travis Build #7948
  • 1bb2cda5 on github
  • Next Build on refactor-search (#7949)
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