Naming conventions in phpt
| From: | till | Date: | Fri, 25 Jan 2008 12:31:45 +0000 |
| Subject: | Naming conventions in phpt | ||
| Groups: | php.pear.qa | ||
| Request: | Send a blank email to pear-qa+get-4744@lists.php.net to get a copy of this message | ||
Hey,
I am just getting around to phpt and I wanted to ask what the naming
conventions are in OO.
I read online (1, btw - very straight forward guide) that
bug_<no>.phpt, method.phpt etc. are acceptable. But I am wondering how
it conforms with OO - e.g. classname.method.phpt?
On a sidenote - a small section ("How to write tests") referencing the
phpt URL and maybe a phpUnit HOWTO would be nice in the PEAR manual as
well.
Can anyone contribute this? :) If so I write something up.
Thanks,
Till
1, http://qa.php.net/write-test.php
P.S.
Please CC me on replies, I only get the daily digest from pear-qa.