[Koha-bugs] [Bug 13457] Suggestions.t expects sample itemtypes

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Mon Dec 22 10:05:37 CET 2014


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

--- Comment #8 from Jonathan Druart <jonathan.druart at biblibre.com> ---
(In reply to Kyle M Hall from comment #4)
> Not sure if I understand what you mean. Wouldn't it be best if we made the
> UT independent of what's in the database?

Yes, of course.

> I think this patch is useful, as I
> often test with the default data, but may add new branches to it. So while
> it would be best to have complete data independence, this is at least a
> small step in the right direction.

I am not sure adding >20 lines per test file is a good idea. Especially because
we will c/p the same lines.
If we consider we need to create all data before writing one test, the tests
will be more difficult to read than now.

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


More information about the Koha-bugs mailing list