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

os-autoinst / openQA / 3823
100%

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

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

Jobs
ID Job ID Ran Files Coverage
1 3823.1 22 Nov 2016 11:58AM UTC 0
72.84
Travis Job 3823.1
Source Files on build 3823
Detailed source file information is not available for this build.
  • Back to Repo
  • Travis Build #3823
  • c1825066 on github
  • Prev Build on master (#3822)
  • Next Build on master (#3826)
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