For Programmers: Free Programming Magazines  


Home > Archive > PHP PEAR Questions and Answers > January 2008 > Naming conventions in phpt









You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

 

Author Naming conventions in phpt
till

2008-01-25, 8:09 am

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.
Sponsored Links







Also available: Server administration forum archive | Web Design forum archive | Software forum archive | Hardware reviews archive

Copyright 2008 codecomments.com