| 1 |
lars |
1 |
------------------------
|
|
|
2 |
PEAR::Translation2 tests
|
|
|
3 |
------------------------
|
|
|
4 |
|
|
|
5 |
Setup:
|
|
|
6 |
|
|
|
7 |
1) download SimpleTest:
|
|
|
8 |
http://www.lastcraft.com/simple_test.php
|
|
|
9 |
2) set the path to the extracted archive in
|
|
|
10 |
/tests/simple_include.php
|
|
|
11 |
3) set the path to Translation2.php in
|
|
|
12 |
/tests/translation2_include.php
|
|
|
13 |
4) set the path to Translation2/Admin.php in
|
|
|
14 |
/tests/translation2_admin_include.php
|
|
|
15 |
5) create a new database called 'translation2',
|
|
|
16 |
and feed it with the /tests/tests.sql file.
|
|
|
17 |
6) set your connection info in /tests/dbms_test.php
|
|
|
18 |
7) point your browser to http://localhost/path/to/tests/all_tests.php
|