PEAR is discontinued

This is a static archive preserving historical releases and metadata. No new packages or updates will be published. For updates to existing packages, or to publish new packages, please use Composer and Packagist.

Home » Testing » PHPUnit2 » Bug #7106

phpunit --skeleton troubles

Details

Submitted2006-03-13 10:26 UTC
Frominfo at e-novative dot de
Assignedsebastian
StatusClosed
PackagePHPUnit2
PHP Version5.1.2
OSWin XP
Roadmaps(Not assigned)

Comments

[2006-03-13 10:26 UTC] info at e-novative dot de

Description:
------------
phpunit --skeleton does not seem to handle PEARified names.
PEARified class names do not seem to get translated to paths like they are when running tests.

I can only get it to work with a class name that translates 1:1 to a file name.

When I try to create a test skeleton for a file that includes other classes, PHPUnit outputs the PHPUnit ... message, then nothing and nothing happens. I found out that when I comment out the include, skeleton generation works. It might be a good idea to output an error message or warning in that case.

[2006-03-17 17:33 UTC] sebastian at php dot net

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.