[Koha-bugs] [Bug 19821] Run tests on a separate database

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Mon Apr 20 11:24:51 CEST 2020


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

--- Comment #49 from Jonathan Druart <jonathan.druart at bugs.koha-community.org> ---
(In reply to Victor Grousset/tuxayo from comment #48)
> From what I understand, to test this, the only thing needed is the test plan
> in comment 41
> 
> Is that correct? I'm not sure if there is something to do with comment 43.

See also bug 19185 comment 23.

> > 3. prove t/db_dependent/<pick-your-favorite-test-here>.t
> > 4. Verify that it created the database koha_test and that the one you
> >   use usually was untouched (you can edit the test file and comment the
> >   lines related to a transaction (txn_begin, txn_rollback))
> 
> Which is the "test file"? The one picked in step 3? Then one must chose one
> that use transactions.

Whichever you want that is in t/db_dependent

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


More information about the Koha-bugs mailing list