PEAR Handbuch | ||
---|---|---|
Zurück | Nach vorne |
Normally you did not use this class directly. For creating a test case you write a class inheriting from PHPUnit_TestCase and maybe have to overwrite setUp() and tearDown(). Then you add the test functions to the class.
Every function in your test class beginning with test is handled as a test function of your test class. In this functions, you have to call your function or create a situation to test. Make sure that every function calls a member of the assert*()-family.
Zurück | Zum Anfang | Nach vorne |
PHPUnit | Nach oben | PHPUnit_Assert |