set_synapse update
[mirrors/Kyberia-bloodline.git] / wwwroot / smarty / unit_test / README
... / ...
CommitLineData
1Smarty Unit Testing
2-------------------
3
4Smarty unit tests require the PEAR PHPUnit
5package to be installed. See if you have that
6installed with the following command:
7
8$> pear list
9
10If you don't see PHPUnit, install with this:
11
12$> pear install PHPUnit
13
14Edit the config.php file,
15be sure everything is defined correctly.
16
17Be sure the following directories are present:
18
19templates
20configs
21templates_c (writable)
22cache (writable)
23
24Then run from the command line:
25php -q smarty_unit_test.php
26
27Or from the web browser:
28http://www.your_domain.com/path/to/smarty_unit_test_gui.php
29
30This will run a unit test for every component
31of Smarty and dump the results. All should pass
32with flying colors. :)
This page took 0.326872 seconds and 4 git commands to generate.