PHPUnit_Framework_TestCase($name); } // called before the test functions will be executed // this function is defined in PHPUnit_TestCase and overwritten // here function setUp() { // create a new instance of String with the // string 'abc' $this->abc = new HRecipe("abc"); } // called after the test functions are executed // this function is defined in PHPUnit_TestCase and overwritten // here function tearDown() { // delete your instance unset($this->abc); } } // All moved to runtests.php //$suite = new PHPUnit_Framework_TestSuite("HRecipeTest"); //echo $starttext; //$result = PHPUnit_Framework_TestResult::run($suite); //echo $result -> toString(); //echo $endtext; ?>