Yii Framework Forum: How can you install PHPUnit 3.5 using PEAR? - Yii Framework Forum

Jump to content

Page 1 of 1
  • You cannot start a new topic
  • You cannot reply to this topic

How can you install PHPUnit 3.5 using PEAR? Rate Topic: -----

#1 User is offline   mydarkpassenger 

  • Newbie
  • Yii
  • Group: Members
  • Posts: 16
  • Joined: 26-April 10

Posted 24 February 2011 - 01:44 PM

I'm trying to install PHPUnit using the instructions on the official site and it only seems to install very outdated versions. I can't even find a place to download it besides this. The archives appear to be down. How can you install PHPUnit 3.5 in Windows?
0

#2 User is offline   samdark 

  • Having fun
  • Yii
  • Group: Yii Dev Team
  • Posts: 3,425
  • Joined: 17-January 09
  • Location:Russia

Posted 24 February 2011 - 03:09 PM

pear channel-discover pear.phpunit.de
pear channel-discover components.ez.no
pear channel-discover pear.symfony-project.com
pear install phpunit/PHPUnit

Yii 1.1 Application Development Cookbook

Enjoying Yii? Star us at github: 1.1 and 2.0.
0

#3 User is offline   lubosdz 

  • Standard Member
  • PipPip
  • Yii
  • Group: Members
  • Posts: 115
  • Joined: 25-July 10
  • Location:Slovakia, Bratislava

Posted 05 October 2012 - 09:37 AM

On windows, this may help, if your are receiving dependency errors:

pear clear-cache
pear install -a -f phpunit/PHPUnit

Yii extension: Captcha Extended

Greatest discoveries in 22nd century will be about the gravitation. | http://www.synet.sk | http://ipdf.sk
0

#4 User is offline   parkerfrank 

  • Junior Member
  • Pip
  • Yii
  • Group: Members
  • Posts: 23
  • Joined: 02-October 12

Posted 02 November 2012 - 02:33 AM

There are a lot of dependencies you have to deal with to have Pear NOT forcibly install PHPUnit 3.6. Here's what I did to get PHPUnit 3.5.15 installed: http://dustyreagan.c...-3-6-to-3-5-15/
0

Share this topic:


Page 1 of 1
  • You cannot start a new topic
  • You cannot reply to this topic

1 User(s) are reading this topic
0 members, 1 guests, 0 anonymous users