Package home | Report new bug | New search | Development Roadmap Status: Open | Feedback | All | Closed Since Version 1.10.15

Request #10834 run-tests should detect PHPUnit automatically
Submitted: 2007-04-25 06:57 UTC
From: cweiske Assigned: cellog
Status: Closed Package: PEAR (version 1.5.3)
PHP Version: 5.2.1 OS:
Roadmaps: 1.6.0    
Subscription  


 [2007-04-25 06:57 UTC] cweiske (Christian Weiske)
Description: ------------ When using run-tests for a package, pear should automatically detect if there is a AllTests.php and no .phpt tests. This would allow testing all packages e.g on a server an generate test reports every night. Currently, you need to know which package uses which test system.

Comments

 [2007-05-06 23:03 UTC] cellog (Greg Beaver)
I will implement this as a new option --autodetect This way, the default behavior will be unchanged
 [2007-05-20 00:05 UTC] cellog (Greg Beaver)
This bug has been fixed in CVS. If this was a documentation problem, the fix will appear on pear.php.net by the end of next Sunday (CET). If this was a problem with the pear.php.net website, the change should be live shortly. Otherwise, the fix will appear in the package's next release. Thank you for the report and for helping us make PEAR better. I've implemented this such that if you run with the -u option, it will first search for an AllTests.php, and if found, use that. Otherwise it will use .phpt files