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

os-autoinst / openQA / 3823 / 1
100%
master: 100%

Build:
DEFAULT BRANCH: master
Ran 22 Nov 2016 11:58AM UTC
Files 106
Run time 5s
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

22 Nov 2016 11:43AM UTC coverage: 72.837% (+0.02%) from 72.822%
3823.1

push

travis-ci

coolo
Add test database customization hook (#1029)

For now we used two ways to setup a test database, either an empty one with
custom additions of entries tailored for a test or based on our fixtures which
have a good common set. Tests based on phantomjs so far always relied on the
database fixtures. The problem with that is by adding more entries to the
fixtures many tests need to be adapted, conflicting corner cases can not be
represented very well, the fixtures maintenance effort increases and the tests
become slower.

This commit provides a way to pass a custom hook for database creation
allowing a customization of database entries as necessary for the specific
tests, be it based on a clean database where one just wants to add what is
necessary or creating a database based on the fixtures and tailoring it for
the test in question.

Documentation for the feature is in t/ui/PhantomTest.pm and an example is in
t/ui/01-list.t.

4848 of 6656 relevant lines covered (72.84%)

116.79 hits per line

Source Files on job 3823.1
  • Tree
  • List 0
  • Changed 17
  • Source Changed 0
  • Coverage Changed 17
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Build 3823
  • Travis Job 3823.1
  • c1825066 on github
  • Prev Job for on master (#3822.1)
  • Next Job for on master (#3826.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