[Koha-devel] Presentation of TestBuilder
Yohann Dufour
yohann.dufour at biblibre.com
Mon Jul 21 12:16:48 CEST 2014
Hi,
With Jonathan Druart, we have been working on a Koha module in order to
simplify the writing of tests. For example, when we want to test an
order, we have to instantiate first a bookseller, a basket, a budget and
a biblio. In the end, there are more lines which instantiate all the
needed objects than lines of test.
The concept of this module : /TestBuilder/ is to generate automatically
the foreign keys of a specific entry in the database. You can choose the
inserted values or let them be generated randomly.
The bug report related to the /TestBuilder/ is bug 12603
<http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=12603>.
You can see examples of the use of /TestBuilder/ on existing files : bug
12604 <http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=12604>,
bug 12605
<http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=12605>, bug
12606 <http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=12606>,
bug 12607 <http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=12607>.
Regards,
Yohann
-------------- section suivante --------------
Une pi?ce jointe HTML a ?t? nettoy?e...
URL: <http://lists.koha-community.org/pipermail/koha-devel/attachments/20140721/92c6f03f/attachment.html>
More information about the Koha-devel
mailing list