Re: Naming conventions in phpt

From: Date: Fri, 25 Jan 2008 21:52:08 +0000
Subject: Re: Naming conventions in phpt
References: 1 2  Groups: php.pear.qa 
Request: Send a blank email to pear-qa+get-4747@lists.php.net to get a copy of this message
On Fri, Jan 25, 2008 at 06:30:21PM +0000, Helgi Þormar Þorbjörnsson wrote: > Hi > > On Jan 25, 2008 12:31 PM, till <klimpong@gmail.com> wrote: > > > 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? > > <snip> > We don't have any specific standard, php qa says bug_21343 for some reason I > tend to do bug323424, and well people sometimes do classname/method.phpt > where the classname is a dir and sometimes classname/method/foobar.phpt when > people need multiple tests per method or do method1 method2 method3.phpt in > the classname dir > > There so many different ways I've seen people do it, do we really need or > want a standard on this ? > why would we not want a standard? surely it's better to have a standard than to be disorganised? other developers, and I'm sure people new to coding for PEAR, may find it useful knowing how to find, and where to place, specific tests for the components/packages they are working on. k. -- Ken Guest Mobile: +353 86 8252 141 http://blogs.linux.ie/kenguest/ Irish PHP Users Group http://www.php.ie

« previous php.pear.qa (#4747) next »