📄 readme
字号:
Smarty Unit Testing-------------------Smarty unit tests require the PEAR PHPUnitpackage to be installed. See if you have thatinstalled with the following command:$> pear listIf you don't see PHPUnit, install with this:$> pear install PHPUnitEdit the config.php file,be sure everything is defined correctly.Be sure the following directories are present:templatesconfigstemplates_c (writable)cache (writable)Then run from the command line:php -q smarty_unit_test.phpOr from the web browser:http://www.your_domain.com/path/to/smarty_unit_test_gui.phpThis will run a unit test for every componentof Smarty and dump the results. All should passwith flying colors. :)
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -