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 #5923

PHPUnit2 generates nothing but help output

Details

Submitted2005-11-10 15:04 UTC
Fromtony at tonybibbs dot com
StatusBogus
PackagePHPUnit2
PHP Version5.0.5
OSWindows XP
Roadmaps(Not assigned)

Comments

[2005-11-10 15:04 UTC] tony at tonybibbs dot com

Description:
------------
#>phpunit --version

Outputs the --help output.

Same for #>phpunit SomeTest

Same for #>phpunit SomeTest SomeTest.php

I had it working on an old version of phunit-2.1.x. I tried downgrading with no success and I'm perplexed. May not be a bug with PHPUnit2, may be an issue with my current version of PEAR or PEAR libraries so here's my "pear list" output:

===================================
PACKAGE VERSION
Archive_Tar 1.3.1
Benchmark 1.2.4
Console_Getopt 1.2
Console_Table 1.0.1
DB 1.7.6
File_Gettext 0.3.3
Geeklog_MVCnPHP 2.1.2
HTML_Template_Flexy 1.2.2
HTML_TreeMenu 1.2.0
HTTP_Session2 0.2.0
ITE_AAClient 0.2.0
Log 1.9.2
Mail 1.1.4
Net_SMTP 1.2.6
Net_Socket 1.0.5
PEAR 1.4.4
PEAR_PackageFileManager 1.5.2
PHPUnit 1.2.2
PHPUnit2 2.3.3
PHP_CompatInfo 1.0.0RC3
PhpDocumentor 1.3.0RC3
Propel_DAO 1.0.0
Translation2 2.0.0beta6
VersionControl_SVN 0.3.0alpha1
XML_Parser 1.2.4
XML_RPC 1.1.0
XML_Serializer 0.15.0
XML_Tree 2.0.0RC2
XML_Util 1.1.1
creole 1.0.1
jargon 1.0.2
phing 2.1.1
propel_generator 1.1.1
propel_runtime 1.1.1

[2005-11-10 15:08 UTC] tony at tonybibbs dot com

To be clear, it was working under some version of 2.1.x (exact version is unknown now). I upgraded to 2.3.3 and got the bug I reported. I tried downgrading to the latest 2.1.x release and still get this odd behavior.

--Tony

[2005-12-29 10:17 UTC] sebastian at php dot net

Cannot reproduce with PHPUnit 2.2.X, PHPUnit 2.3.X, and PHPUnit 3.0-dev on both Linux and Windows XP.