[Koha-bugs] [Bug 5327] Unit tests required for all C4 modules

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Wed Feb 1 18:06:20 CET 2012


http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=5327

--- Comment #157 from Chris Cormack <chris at bigballofwax.co.nz> 2012-02-01 17:06:20 UTC ---
(In reply to comment #156)
> Robin / chris_c = I understood db_dependant directory as where we should put
> tests that work only if the database need something specific to work.
> A script that run subs using the database but does not depend on what is should
> be in t/
> that's why I've pushed Csv and Reports, and am not sure the 2 patches moving
> them submitted yesterday are applicable.

db_dependent is for the tests that require a db connection, the ones in just t/
don't need a database. They are the ones run during a make test, having ones
that require a db connection means tests fail during install which is confusing
for users.

So no db_dependent is for tests that depend on a db connection, not some
specific data. (no other tests in t/ depend on a db connection)

-- 
Configure bugmail: http://bugs.koha-community.org/bugzilla3/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA Contact for the bug.
You are watching all bug changes.


More information about the Koha-bugs mailing list