Re: [PRES] cvs: presentations /slides/advanced runtests t_golden.xml t_unit.xml t_unit_phpunit1.xml t_unit_phpunit2.xml t_unit_phpunit3.xml
url_parser1.phpt
| From: | Sebastian Bergmann | Date: | Wed, 14 May 2003 04:12:02 +0000 |
| Subject: | Re: [PRES] cvs: presentations /slides/advanced runtests t_golden.xml t_unit.xml t_unit_phpunit1.xml t_unit_phpunit2.xml t_unit_phpunit3.xml url_parser1.phpt |
||
| References: | 1 | Groups: | php.pres |
| Request: | Send a blank email to pres+get-723@lists.php.net to get a copy of this message | ||
Sterling Hughes wrote:
> class url_parser_t extends PHPUnit_TestCase {
"Convention" has it that the test class should be prefixed with
"Test_", for instance if your testing class "Foo" you would use the
following:
<?php
class Foo {}
class Test_Foo extends PHPUnit_TestCase {}
?>
Wolfram's HTML GUI for PHPUnit 0.x requires the above naming scheme
to work properly.
--
Sebastian Bergmann
http://sebastian-bergmann.de/ http://phpOpenTracker.de/
Did I help you? Consider a gift: http://wishlist.sebastian-bergmann.de/