Main Koha release repository https://koha-community.org
Find a file
Andrew Moore 80568463ea improvements to automated tests, including a testing database
I'm adding a bunch of additions to the test suite. There is now a test
database that is created, and a test instance of the zebra server and
daemon that are run before the tests in t/database-dependent.pl are
run. This means that you can test things that insert (or destroy)
things in the database.

To use these tests, after you 'make' your koha installation, you can
change to the 't' directory and 'make test' there.

There is now an additional question asked during installation. It asks
whether you would like to run the data-dependent tests. If so, It asks
you for some login information to a test database. I recommend that
you do not not use your production database here. It will delete all
of the data in it.

Things that need improvement:
* I suspect that there are large parts that are not very platform
  independent, so they will need to be improved.
* There are some parts of the installer that will probably be
  refactored to let this work a little bit better, including being run
  directly from a main-level 'make' target at some point.
* Lots more tests to add. Be bold! (see the t/lib directory)
* other tests in t/*.t can possibly benefit from being included in here.

There are two required perl modules for this part of the test suite. I
use:
'Test::Class' => 0.028,
'Test::Class::Load' => 0.02,
They are not listed as requirements in the top-level Makefile.PL
because they're not actually required to install or use Koha, but if
you want to run the test suite, you can install them from CPAN.

Signed-off-by: Galen Charlton <galen.charlton@liblime.com>
Signed-off-by: Joshua Ferraro <jmf@liblime.com>
2008-04-21 11:26:27 -05:00
acqui acqui/addorder.pl - use reliable GetBookSellerFromId instead of relying on name search. 2008-03-08 11:19:27 -06:00
admin added another check to MARC framework test 2008-04-21 11:18:19 -05:00
authorities authorities: make tag editor links consistent with bib 2007-12-29 06:53:52 -06:00
C4 refactor web installer code to created C4::Installer 2008-04-21 11:26:23 -05:00
catalogue Adding anchor link to updateitem redirect; Markup corrections for cat_issues_top.tmpl 2008-04-10 15:54:07 -05:00
cataloguing XHTML correction - readonly attribute can contain only "readonly" 2008-04-21 11:17:32 -05:00
circ Formatting patron expiration date output (or was there a reason why this was commented out previously?) 2008-04-10 02:59:32 -05:00
errors bug 1803 - fix error page handling 2008-02-18 19:32:07 -06:00
etc removing some spaces in record.abs, that make the file invalid for Zebra 2008-04-14 23:46:58 -05:00
install_misc install: tweaked 'make update' 2008-02-15 08:30:53 -06:00
installer refactor web installer code to created C4::Installer 2008-04-21 11:26:23 -05:00
koha-tmpl added another check to MARC framework test 2008-04-21 11:18:19 -05:00
labels Completeing port of changes in DrawSpineText API 2008-04-21 11:14:04 -05:00
members renamed CheckSpecificUserPermissions to GranularPermissions 2008-04-10 15:53:45 -05:00
misc rebuild_zebra.pl - add -y option 2008-04-21 11:17:29 -05:00
opac Porting SimpleSearch return changes to all code calling it. 2008-04-17 05:52:45 -05:00
reports Total overhaul of bor_issues_top report, removal from CGI::scolling_list. 2008-04-12 15:05:10 -05:00
reserve Report borrower's home library on reserves library mismatch. 2008-03-25 07:20:22 -05:00
reviews granular permissions - updated Tools 2008-04-10 15:53:30 -05:00
rss rel_3_0 moved to HEAD 2007-03-09 15:12:54 +00:00
serials Porting SimpleSearch return changes to all code calling it. 2008-04-17 05:52:45 -05:00
skel installer: fixed chown invocation; added skel for KOHA_LOG_DIR 2007-12-17 09:13:53 -06:00
sms SMS - widespread cleanup and moving code away from Cyprus/Turkey-specific implementation. Much more needed. 2008-02-06 23:19:30 -06:00
suggestion Accept or reject : Bug Fix and improvements. 2008-04-17 05:52:47 -05:00
svc bib_profile web svc: report biblioitems.itemtype subfield as non-mandatory 2007-12-04 15:06:05 -06:00
t improvements to automated tests, including a testing database 2008-04-21 11:26:27 -05:00
tmp/modified_authorities changing DO_NOT_REMOVE to README.txt 2007-10-21 19:14:41 -05:00
tools BUGFIX : encoding problem & security problem 2008-04-14 23:46:53 -05:00
virtualshelves Shelves consolidation to C4::VirtualShelves::Page. I can tell the consolidation 2008-01-14 16:45:21 -06:00
.gitignore my .gitignore, to avoid having files suggested to be commited. 2008-04-14 23:46:56 -05:00
.htaccess bug 1803 - fix error page handling 2008-02-18 19:32:07 -06:00
about.pl don't sort @INC when displaying on about page 2008-02-15 08:24:43 -06:00
changelanguage.pl fixing bug 1754: Hide language chooser if only one translation is available 2008-03-17 21:28:31 -05:00
edithelp.pl edithelp.pl - cleanup, refactor and error feedback to user 2008-01-08 14:04:48 -06:00
fix-perl-path.PL installer: improvements to fix-path-perl.PL on Win32 2007-12-20 19:20:12 -06:00
help.pl Adding yuipath variable to help.pl, and doing some cleanup of help templates (standardizing structure, mostly, and correcting some nomenclature). 2008-01-09 14:50:20 -06:00
INSTALL adding upgrade instructions to INSTALL and INSTALL.debain 2008-02-21 14:04:47 -06:00
install-CPAN.pl BUGFIX: need to create authors/id if CPAN is unused 2007-09-07 05:26:16 -05:00
INSTALL.debian Two fixes to speed up (a little bit) installation process 2008-04-17 05:52:46 -05:00
kohaversion.pl Update yuipath syspref 2008-04-21 11:17:33 -05:00
LICENSE re-naming some files prior to release 2007-12-30 12:13:39 -06:00
mainpage.pl fixing permissions requirements on mainpage.pl 2008-01-04 21:30:14 -06:00
Makefile.PL improvements to automated tests, including a testing database 2008-04-21 11:26:27 -05:00
MANIFEST.SKIP Do not pack the git repository 2007-09-06 17:14:36 -05:00
README adding README 2007-12-30 12:13:57 -06:00
rewrite-config.PL install: added --prev-install-log option to Makefile.PL 2008-02-15 08:30:51 -06:00

Koha 3 - the next-generation release of the award-winning Koha open-source
integrated library system.

30 December 2007 - Joshua Ferraro <jmf AT liblime DOT com>

Koha is distributed under the GNU GPL. Please read the file LICENSE for
more details.

To install or upgrade Koha, please see the INSTALL file.

Please report any bugs to the koha mailing lists or bug tracker and we
will try to fix them in a future release. The main koha web site is
http://www.koha.org/