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

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Fri Jun 5 12:32:26 CEST 2020


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

Jonathan Druart <jonathan.druart at bugs.koha-community.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|Failed QA                   |Signed Off

--- Comment #63 from Jonathan Druart <jonathan.druart at bugs.koha-community.org> ---
(In reply to Kyle M Hall from comment #62)
> Jonathan, can we get a unified test plan for this patch set? I'm not sure if
> I'm testing wrong. Selenium tests pass in 'normal' mode, so I know it's not
> my Selenium container that's not problematic:

Hi Kyle,

The test plan provided by Victor is quite good.

If you want to "just it passes" you can:

1.
$ mysql -h db -u root --password=password
> GRANT ALL PRIVILEGES ON `koha_test`.* TO 'koha_kohadev';

2.
# Edit $KOHA_CONF and add 
 <database_test>koha_test</database_test>

3.
$ prove -Mt::lib::Bootstrap t/db_dependent/selenium/00-installation.t

And the tests should pass. But the different steps described by Victor are
useful to understand how it works.

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


More information about the Koha-bugs mailing list