[Koha-bugs] [Bug 8300] Koha should have mechanized testing suite
bugzilla-daemon at bugs.koha-community.org
bugzilla-daemon at bugs.koha-community.org
Fri Sep 14 14:59:11 CEST 2012
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=8300
Jared Camins-Esakov <jcamins at cpbibliography.com> changed:
What |Removed |Added
----------------------------------------------------------------------------
Attachment #12103|0 |1
is obsolete| |
--- Comment #8 from Jared Camins-Esakov <jcamins at cpbibliography.com> ---
Created attachment 12222
-->
http://bugs.koha-community.org/bugzilla3/attachment.cgi?id=12222&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
This updated patch now handles both MARC21 and UNIMARC installations.
--
You are receiving this mail because:
You are watching all bug changes.
More information about the Koha-bugs
mailing list