http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=13457 --- Comment #8 from Jonathan Druart <jonathan.druart@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.