phpunit installation says about reflection extension

Reply

Join Date: Apr 2005
Posts: 183
Reputation: hbmarar is an unknown quantity at this point 
Solved Threads: 0
hbmarar's Avatar
hbmarar hbmarar is offline Offline
Junior Poster

phpunit installation says about reflection extension

 
0
  #1
Jul 2nd, 2007
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
Reply With Quote Quick reply to this message  
Join Date: Jul 2004
Posts: 494
Reputation: Puckdropper is an unknown quantity at this point 
Solved Threads: 21
Puckdropper Puckdropper is offline Offline
Posting Pro in Training

Re: phpunit installation says about reflection extension

 
0
  #2
Jul 2nd, 2007
Do you have the latest version of Pear? If not, update to the latest and see if that helps on installing phpunit.
www.uncreativelabs.net

Old computers are getting to be a lost art. Here at Uncreative Labs, we still enjoy using the old computers. Sometimes we want to see how far a particular system can go, other times we use a stock system to remind ourselves of what we once had.
Reply With Quote Quick reply to this message  
Join Date: Apr 2005
Posts: 183
Reputation: hbmarar is an unknown quantity at this point 
Solved Threads: 0
hbmarar's Avatar
hbmarar hbmarar is offline Offline
Junior Poster

Re: phpunit installation says about reflection extension

 
0
  #3
Jul 2nd, 2007
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
Reply With Quote Quick reply to this message  
Join Date: Jul 2004
Posts: 494
Reputation: Puckdropper is an unknown quantity at this point 
Solved Threads: 21
Puckdropper Puckdropper is offline Offline
Posting Pro in Training

Re: phpunit installation says about reflection extension

 
1
  #4
Jul 2nd, 2007
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.
www.uncreativelabs.net

Old computers are getting to be a lost art. Here at Uncreative Labs, we still enjoy using the old computers. Sometimes we want to see how far a particular system can go, other times we use a stock system to remind ourselves of what we once had.
Reply With Quote Quick reply to this message  
Join Date: Apr 2005
Posts: 183
Reputation: hbmarar is an unknown quantity at this point 
Solved Threads: 0
hbmarar's Avatar
hbmarar hbmarar is offline Offline
Junior Poster

Re: phpunit installation says about reflection extension

 
0
  #5
Jul 3rd, 2007
Hi,

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

Thanks

Harish
Reply With Quote Quick reply to this message  
Join Date: Jul 2007
Posts: 1
Reputation: lukescammell is an unknown quantity at this point 
Solved Threads: 0
lukescammell lukescammell is offline Offline
Newbie Poster

Re: phpunit installation says about reflection extension

 
0
  #6
Jul 19th, 2007
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).

  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.
Reply With Quote Quick reply to this message  
Reply

This thread is more than three months old.
Perhaps start a new thread instead?
Message:



Similar Threads
Other Threads in the PHP Forum
Thread Tools Search this Thread



About Us | Contact Us | Advertise | DaniWeb | Acceptable Use Policy | RSS Feed

©2003 - 2009 DaniWeb® LLC