[Koha-bugs] [Bug 16173] db_structure.t shouldn't have a fixed number of tests

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Wed Mar 30 17:50:10 CEST 2016


--- Comment #1 from Tomás Cohen Arazi <tomascohen at gmail.com> ---
Created attachment 49689
Bug 16173: db_structure.t shouldn't have a fixed number of tests

This patch makes db_structure.t more flexible regarding how many tests are run.
This is important because it would fail on each db structure change, masking
real problems.

To test:
- Run
  $ prove t/db_dependent/db_structure.t
=> FAIL: the number of tests ran doesn't match what is expected
- Apply the patch
- Run
  $ prove t/db_dependent/db_structure.t
=> SUCCESS: Tests count is not an issue [1]
- Sign off

[1] Right now the tests run successfuly, they might fail if a real bug is
on the DB structure, in the meantime.

You are receiving this mail because:
You are watching all bug changes.

More information about the Koha-bugs mailing list