[Koha-bugs] [Bug 10508] UT: C4::Branch.pm needs unit tests

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Tue Jul 23 02:55:41 CEST 2013


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

--- Comment #27 from Galen Charlton <gmcharlt at gmail.com> ---
(In reply to Srdjan Jankovic from comment #26)
> That is exactly what I'm trying to figure out - why do you find it easier
> that way. I would always want them together. Not arguing at all, as a QA you
> absolutely have right to ask for it to be delivered in a way that it suits
> you (it will get merged all together in the end anyway), just finding it
> interesting. 

In part, it's a consequence of following the TDD notion of writing the tests
first.  Depending on the nature of the bug, having the first patch contain the
test cases allows one to apply just that patch, then run the tests, then see
from the (presumptive) test failures the essence of the bug being fixed and/or
the contract of the new routines being added or the changes to the contract of
the routines being changed.  Now that the stage of the little story that the
patch series is telling is set and effective *documented* by the first patch,
the subsequent patches round it out.

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


More information about the Koha-bugs mailing list