|
From: Ali G. <co...@gm...> - 2010-09-13 00:07:02
|
I have a web test case and I am doing the following:
require_once(BASE_DIR."/util/simpletest/web_tester.php");
require_once(BASE_DIR."/util/simpletest/reporter.php");
$group = new TestSuite("Views Test");
$group->addFile(BASE_DIR."/app/tests/views/FrontTest.php");
$group->run(new TextReporter());
the output i get is this:
Views Test
OK
*Test cases run: 0/1*, Passes: 0, Failures: 0, Exceptions: 0
It says 0/1 run.
I have stripped down my test case to this:
class FrontTest extends WebTestCase {
function home_test() {
}
}
still it does not run
any help would be greatly appreciated
thanks,
--
Ali Gangji
|