[Koha-bugs] [Bug 8300] Koha should have mechanized testing suite

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Sat Jun 23 22:54:26 CEST 2012


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

--- Comment #1 from Jared Camins-Esakov <jcamins at cpbibliography.com> ---
Created attachment 10445
  -->
http://bugs.koha-community.org/bugzilla3/attachment.cgi?id=10445&action=edit
Bug 8300: Add mechanized unit test for batch import

This new unit test confirms that importing records via the Stage
MARC import tool still works by connecting to a Koha instance and
importing a record then reverting the import, checking at each step
of the way that everything is as it should be.

To test:
1. Install Test::WWW::Mechanize
> sudo apt-get install libtest-www-mechanize-perl
2. Set environment variables to reflect your Koha instance:
> export KOHA_USER=kohaadmin
> export KOHA_PASS=katikoan
> export KOHA_INTRANET_URL=http://localhost:8080
> export KOHA_OPAC_URL=http://localhost
3. Run the test:
> prove t/db_dependent/www/batch.t

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


More information about the Koha-bugs mailing list