1
我去跟踪代码:PHP - SimpleTest的 - 如何测试 “包含” 类
include 'simpletest/autorun.php';
include 'config_test.case.php'; // <-- problem
但它不工作。我得到:
Bad TestSuite [index.php] with error [No runnable test cases in [index.php]]
但是,如果我直接将Config类代码(无“包含”),它的工作原理。 我能做什么? Thx =)
`config_test.case.php`与脚本运行在同一个文件夹中吗? – philfreo 2010-11-26 02:15:34
编号config_test.case.php位于与index.php不同的文件夹中(其中包括auturun.php) – Lucas 2010-11-26 02:21:00