943,754 Members | Top Members by Rank

Ad:
  • PHP Discussion Thread
  • Unsolved
  • Views: 2974
  • PHP RSS
Jul 2nd, 2007
0

phpunit installation says about reflection extension

Expand Post »
Hi,

Wishes.
While i try to install phpunit in Xampp I get the following line along with few other .
phpunit/PHPUnit requires PHP extension "reflection"

I googled a lot and no where i could find any such extension. what i shud do to find this extension. I removed one required need of image_graphviz by upgrading.

Requesting experts pointers, suggestion and tips or hints.
Thanks in advance

Hari
Similar Threads
Reputation Points: 10
Solved Threads: 0
Junior Poster
hbmarar is offline Offline
187 posts
since Apr 2005
Jul 2nd, 2007
0

Re: phpunit installation says about reflection extension

Do you have the latest version of Pear? If not, update to the latest and see if that helps on installing phpunit.
Reputation Points: 23
Solved Threads: 23
Posting Pro in Training
Puckdropper is offline Offline
494 posts
since Jul 2004
Jul 2nd, 2007
0

Re: phpunit installation says about reflection extension

Hi,

Thanks for the reply. I will try as you said. POsting here message i get while i try to install.

phpunit/PHPUnit requires PHP (version >= 5.1.4), installed version is 5.1.1
phpunit/PHPUnit requires PHP extension "reflection"
phpunit/PHPUnit requires package "pear/Image_GraphViz" (version >= 1.2.1), inst
lled version is 1.1.0
phpunit/PHPUnit can optionally use PHP extension "json"
phpunit/PHPUnit can optionally use PHP extension "pdo_sqlite"
phpunit/PHPUnit can optionally use PHP extension "xdebug" (version >= 2.0.0RC4)
Thanks.

Regards
Hari
Reputation Points: 10
Solved Threads: 0
Junior Poster
hbmarar is offline Offline
187 posts
since Apr 2005
Jul 2nd, 2007
1

Re: phpunit installation says about reflection extension

You'll need to update to the latest version of PHP first. You'll then want to run an upgrade all command (pear upgrade-all) to try to get the all the latest packages.

PHPUnit's a pain to install because it requires so much stuff be up to date.

Have you considered Simpletest? It's much more compatible.
Reputation Points: 23
Solved Threads: 23
Posting Pro in Training
Puckdropper is offline Offline
494 posts
since Jul 2004
Jul 3rd, 2007
0

Re: phpunit installation says about reflection extension

Hi,

THanks for the reply. I will surely give simpletest a try. This is something new piece of information for me.

Thanks

Harish
Reputation Points: 10
Solved Threads: 0
Junior Poster
hbmarar is offline Offline
187 posts
since Apr 2005
Jul 19th, 2007
0

Re: phpunit installation says about reflection extension

I too am having n joy in getting PHPUnit to install. I followed the guide at phpunit.de but I just end up with a default text dump whenever I try and run any tests (in this case HTML_BBCodeParser).

PHP Syntax (Toggle Plain Text)
  1. #!C:/xampp/php/php.exe
  2. PHPUnit 3.1.3 by Sebastian Bergmann.
  3.  
  4. Usage: phpunit [switches] UnitTest [UnitTest.php]
  5.  
  6. --log-graphviz <file> Log test execution in GraphViz markup.
  7. --log-json <file> Log test execution in JSON format.
  8. --log-tap <file> Log test execution in TAP format to file.
  9. --log-xml <file> Log test execution in XML format to file.
  10.  
  11. --test-db-dsn <dsn> DSN for the test database.
  12. --test-db-log-rev <r> Revision information for database logging.
  13. --test-db-log-info ... Additional information for database logging.
  14.  
  15. --testdox-html <file> Write agile documentation in HTML format to file.
  16. --testdox-text <file> Write agile documentation in Text format to file.
  17.  
  18. --filter <pattern> Filter which tests to run.
  19. --loader <loader> TestSuiteLoader implementation to use.
  20. --repeat <times> Runs the test(s) repeatedly.
  21.  
  22. --tap Report test execution progress in TAP format.
  23. --testdox Report test execution progress in TestDox format.
  24.  
  25. --no-syntax-check Disable syntax check of test source files.
  26. --stop-on-failure Stop execution upon first error or failure.
  27. --verbose Output more verbose information.
  28. --wait Waits for a keystroke after each test.
  29.  
  30. --skeleton Generate skeleton UnitTest class for Unit in Unit.php.
  31.  
  32. --help Prints this usage information.
  33. --version Prints the version and exits.
  34.  
  35. -d key[=value] Sets a php.ini value.
Reputation Points: 10
Solved Threads: 0
Newbie Poster
lukescammell is offline Offline
1 posts
since Jul 2007

This thread is more than three months old

No one has posted to this discussion for at least three months. Please let old threads die and do not reply to them unless you feel you have something new and valuable to contribute that absolutely must be added to make the discussion complete. Otherwise, please start a new thread in this forum instead.
Message:
Previous Thread in PHP Forum Timeline: image verification
Next Thread in PHP Forum Timeline: IIS and Apache





About Us | Contact Us | Advertise | Acceptable Use Policy
Forum Index | Build Custom RSS Feed


Follow us on Twitter


© 2011 DaniWeb® LLC