30 require_once
'/usr/local/simpletest/unit_tester.php';
31 require_once
'/usr/local/simpletest/collector.php';
32 require_once
'/usr/local/simpletest/web_tester.php';
33 require_once
'/usr/local/simpletest/reporter.php';
34 require_once
'/usr/local/simpletest/extensions/junit_xml_reporter.php';
38 function __construct($label=FALSE)
40 parent::__construct($label);
42 $this->addTestFile(
'createUIUsers.php');
43 if(chdir(
'../ui/tests') === FALSE )
45 echo
"FATAL! Cannot cd to the ui/tests directory\n";
50 $this->collect($testPath .
'/SiteTests',
51 new SimplePatternCollector(
'/Test.php/'));
53 $this->addTestFile(
'BasicTests/BasicSetup.php');
54 $this->collect($testPath .
'/BasicTests',
55 new SimplePatternCollector(
'/Test.php/'));
56 $this->collect($testPath .
'/Users',
57 new SimplePatternCollector(
'/Test.php/'));
58 $this->collect($testPath .
'/EmailNotification',
59 new SimplePatternCollector(
'/Test.php/'));
60 if(chdir(
'../../tests') === FALSE )
62 echo
"FATAL! Cannot cd to the ../../tests directory\n";
Run the simpletest FOSSology functional tests.