[Koha-bugs] [Bug 21798] We need t::lib::TestBuilder::gimme_a_biblio

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Tue Nov 13 12:51:16 CET 2018


https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=21798

--- Comment #6 from Marcel de Rooy <m.de.rooy at rijksmuseum.nl> ---
(In reply to Jonathan Druart from comment #5)
> I am quite ok to create such methods in TestBuilder.pm
> 
> This new method will replace the multiple occurrences of:
> * add_biblio
> * create_helper_biblio
> * get_biblio
> 
> 
> We also will need methods to generate:
> * a logged in patron (with correct flag, library, userenv)
> * a superlibrarian patron
> * a MARC record
> * an item that can be checked out (itemtype, onloan, withdrawn, etc.)
> * a checkout
> * etc.

Or create a TestBuilder dependent module? You want an interface between the
test and TestBuilder in order to shorten TestBuilder calls.

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


More information about the Koha-bugs mailing list