test suite: new tests for installer
authorGalen Charlton <galen.charlton@liblime.com>
Fri, 9 May 2008 23:08:13 +0000 (18:08 -0500)
committerJoshua Ferraro <jmf@liblime.com>
Sun, 11 May 2008 11:49:20 +0000 (06:49 -0500)
commit7a729c2b0a9a1a8329ac02a253a2dc09ab61b431
tree4bc5e22a54e2af49bf2f7bd48cd5921013e1478d
parent339fc5fcababe7d3f18b67b6f9ca8a2cba0c1dd6
test suite: new tests for installer

Added tests of loading the DB initialization and
sampple data SQL scripts for every language
and MARC flavour combination defined in
installer/data/{dbms}.  Errors that the
new test class should catch include:

* SQL syntax errors in kohastructure.sql
* SQL errors in the sample data

For each language and MARC flavour combination,
all mandatory and optional scripts are loaded.

As of this commit, several errors are reported
by this test class; these will be fixed separately.

Signed-off-by: Joshua Ferraro <jmf@liblime.com>
t/lib/KohaTest/Installer.pm [new file with mode: 0644]
t/lib/KohaTest/Installer/SqlScripts.pm [new file with mode: 0644]