19 require_once
'/usr/local/simpletest/unit_tester.php';
20 require_once
'/usr/local/simpletest/collector.php';
21 require_once
'/usr/local/simpletest/web_tester.php';
22 require_once
'/usr/local/simpletest/reporter.php';
23 require_once
'/usr/local/simpletest/extensions/junit_xml_reporter.php';
27 function __construct($label=FALSE)
29 parent::__construct($label);
31 $this->addTestFile(
'createUIUsers.php');
32 if(chdir(
'../ui/tests') === FALSE )
34 echo
"FATAL! Cannot cd to the ui/tests directory\n";
39 $this->collect($testPath .
'/SiteTests',
40 new SimplePatternCollector(
'/Test.php/'));
42 $this->addTestFile(
'BasicTests/BasicSetup.php');
43 $this->collect($testPath .
'/BasicTests',
44 new SimplePatternCollector(
'/Test.php/'));
45 $this->collect($testPath .
'/Users',
46 new SimplePatternCollector(
'/Test.php/'));
47 $this->collect($testPath .
'/EmailNotification',
48 new SimplePatternCollector(
'/Test.php/'));
49 if(chdir(
'../../tests') === FALSE )
51 echo
"FATAL! Cannot cd to the ../../tests directory\n";
Run the simpletest FOSSology functional tests.