Forums / Developer / EZ Unit Tests / Comment51074

Author Topic

Paul Forsyth

Tuesday 12 May 2009 1:07:23 am

Comment51074

Hi Russ,

AFAIK the unit test code became 'stable'ish in 4.1.

The package links refer to an unreleased version (4.1.2), so either you could override the default location from settings/package.ini, or you could download the released 4.1.1, and add the 'tests' directory from the trunk.

Another way of getting going quickly is to import the base sql files from:

kernel/sql/mysql/kernel_schema.sql
kernel/sql/mysql/cleandata.sql

into an empty database.

This provides a real base installation of eZ, and is used by the testrunner for making sure a database is either loaded per test or per suite.

This should get you going. Let me know if this works for you.

Paul

eZ Systems