Re: Getting started with writing tests

From: Date: Wed, 16 Apr 2008 23:08:07 +0000
Subject: Re: Getting started with writing tests
References: 1 2  Groups: php.qa 
Request: Send a blank email to php-qa+get-64207@lists.php.net to get a copy of this message
Zoe and Rob, Thanks so much - these suggestions worked out great! Thanks, Tom On Wed, Apr 16, 2008 at 12:13 AM, Rob Nicholson <rob_nicholson@uk.ibm.com> wrote: > > tom.melendez@gmail.com wrote on 16/04/2008 07:20:48: > > > > Hi Folks, > > > > I'm interested in participating in test fest and just have some > > questions. I've read through the docs at qa.php.net (although, please > > point me to the right place if I've missed it) but it is unclear to me > > how to: > > * run and re-run tests > > type > > php run-tests.php > > to run and rerun all the tests > > > * run just my tests > > php run-tests.php -h > > will show you the help for run-tests from which you can learn that you > probably want to use the -r option to run-tests to read the list of tests to > run from a file. > > > > > I briefly read through the run-tests.php script and the Makefile in > > which env vars are set up, but is this the best way? To test just my > > phpt files, should I move the other tests out of the way so it just > > executes mine? > > You could do that but I recommend the -r option. > > Rob Nicholson. > > > ________________________________ > > > > > Unless stated otherwise above: > IBM United Kingdom Limited - Registered in England and Wales with number > 741598. > Registered office: PO Box 41, North Harbour, Portsmouth, Hampshire PO6 3AU > > > > > > >

« previous php.qa (#64207) next »