安装PHPUnit

http://www.phpunit.de/manual/current/en/installation.html

http://www.phpunit.de/manual/current/en/

1
2
3
4
5
6
7
8
pear upgrade
pear channel-discover pear.phpunit.de

pear channel-discover components.ez.no

pear channel-discover pear.symfony-project.com

pear install --alldeps phpunit/PHPUnit

[admin@huangye ~]$ pear info phpunit/Phpunit
About pear.phpunit.de/PHPUnit-3.5.15
====================================
Release Type PEAR-style PHP-based Package
Name PHPUnit
Channel pear.phpunit.de
Summary Regression testing framework for unit tests.
Description PHPUnit is a regression testing framework used
by the developer who implements unit tests in
PHP. This is the version to be used with PHP 5.
Maintainers Sebastian Bergmann (lead)
Release Date 2011-08-19 10:04:30
Release Version 3.5.15 (stable)
API Version 3.5.7 (stable)
License BSD License
Release Notes http://github.com/sebastianbergmann/phpunit/blob/master/README.markdown
Required Dependencies PHP version 5.2.7
PEAR installer version 1.9.3 or newer
Package pear.phpunit.de/DbUnit
Version 1.0.0 or newer
Package pear.phpunit.de/File_Iterator
Version 1.2.3 or newer
Package pear.phpunit.de/Text_Template
Version 1.0.0 or newer
Package pear.phpunit.de/PHP_CodeCoverage
Version 1.0.2 or newer
Package pear.phpunit.de/PHP_Timer
Version 1.0.0 or newer
Package pear.phpunit.de/PHPUnit_MockObject
Version 1.0.3 or newer
Package pear.phpunit.de/PHPUnit_Selenium
Version 1.0.1 or newer
Package pear.symfony-project.com/YAML
Version 1.0.2 or newer
Extension dom
Extension pcre
Extension reflection
Extension spl
Optional Dependencies Package pear.php.net/XML_RPC2
Extension curl
Extension dbus
Extension json
Extension simplexml
Extension tokenizer
package.xml version 2.0
Last Modified 2011-09-02 23:53
Previous Installed – None -
Version

更多
One Response Post a comment
  1. vaman

    哇 文章可以可以生成pdf啊 这个插件不错哦

Leave a Reply

Note: You may use basic HTML in your comments. Your email address will not be published.

Subscribe to this comment feed via RSS