Index of /php/extlib/smarty/unit_test/

      Name                                Last modified         Size  Description 
   
up Parent Directory 03-Jul-2013 09:30 - directory configs 20-Aug-2012 23:03 - directory templates 20-Aug-2012 23:03 - [HTM] config.php 20-Aug-2012 23:02 4k [HTM] smarty_unit_test.php 20-Aug-2012 23:02 4k [HTM] smarty_unit_test_gui.php 20-Aug-2012 23:02 4k [HTM] test_cases.php 20-Aug-2012 23:02 20k unknown error_log 16-Apr-2014 17:48 136k

Smarty Unit Testing
-------------------

Smarty unit tests require the PEAR PHPUnit
package to be installed. See if you have that
installed with the following command:

$> pear list

If you don't see PHPUnit, install with this:

$> pear install PHPUnit

Edit the config.php file,
be sure everything is defined correctly.

Be sure the following directories are present:

templates
configs
templates_c (writable)
cache (writable)

Then run from the command line:
php -q smarty_unit_test.php

Or from the web browser:
http://www.your_domain.com/path/to/smarty_unit_test_gui.php

This will run a unit test for every component
of Smarty and dump the results. All should pass
with flying colors. :)
Proudly Served by LiteSpeed Web Server at www.castlegardencreations.com Port 80