Re: How does jenkins determine which dir / file to run tests from?

From: Date: Tue, 03 Jan 2012 18:09:02 +0000
Subject: Re: How does jenkins determine which dir / file to run tests from?
References: 1 2  Groups: php.pear.qa 
Request: Send a blank email to pear-qa+get-5994@lists.php.net to get a copy of this message
Hi Folks: > Also, some packages have only .phpt tests, but they also provide an > AllTests.php script providing the developers the option to run the tests > using PHPUnit. Please don't. This can mean the tests get run twice in > some situations. Just invoke the tests like this: > pear run-tests -r tests Wow. I just realized newer versions of PHPUnit now have the ability run .phpt tests out of the box without having to do anything like building an AllTests.php file. So just run PHPUnit as normal and it picks up all the phpt tests. phpunit tests Thanks, --Dan -- T H E A N A L Y S I S A N D S O L U T I O N S C O M P A N Y data intensive web and database programming http://www.AnalysisAndSolutions.com/ 4015 7th Ave #4, Brooklyn NY 11232 v: 718-854-0335 f: 718-854-0409

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