@Ghazascanner
_2019runbot
Ghazascanner File Manager
server :Linux phosweb008 3.10.0-1160.el7.x86_64 #1 SMP Mon Oct 19 16:18:59 UTC 2020 x86_64
Current Path :
/
homepage
/
v-mt
/
php
/
extlib
/
smarty
/
unit_test
/
Path :
Upload File :
New :
File
Dir
/homepage/v-mt/php/extlib/smarty/unit_test/README
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. :)