[PEPr] Comment on PHP::Assert
| From: | Sebastian Bergmann | Date: | Mon, 09 Jan 2006 07:22:47 +0000 |
| Subject: | [PEPr] Comment on PHP::Assert | ||
| References: | 1 | Groups: | php.pear.dev |
| Request: | Send a blank email to pear-dev+get-40908@lists.php.net to get a copy of this message | ||
Sebastian Bergmann (http://pear.php.net/user/sebastian) has commented on the proposal for
PHP::Assert.
Comment:
The PHPUnit2_Framework_Assert::assert*() methods are static and can be used
in the same way, see Example 8.4 ("The BankAccount class with
Design-by-Contract assertions",
http://www.phpunit.de/pocket_guide/2.3/en/test-first-programming.html)
of
the "PHPUnit Pocket Guide".
Proposal information:
http://pear.php.net/pepr/pepr-proposal-show.php?id=285
--
Sent by PEPr, the automatic proposal system at http://pear.php.net