且构网

分享程序员开发的那些事...
且构网 - 分享程序员编程开发的那些事

安装phpunit和例子

更新时间:2023-02-21 22:10:46

位于pear.phpunit.de频道的文档已完全过时.请不要再使用它们. 引用塞巴斯蒂安·伯格曼,PHPUnit的作者:

The docs located at the pear.phpunit.de channel are completely out of date. Please do not use them anymore. Quoting Sebastian Bergmann, author of PHPUnit:

谁负责PEAR手册:请删除 http://bit.ly/gU8eEG ,因为它会引起混淆人员(和搜索引擎).

Whoever is responsible for the PEAR Manual: please remove http://bit.ly/gU8eEG as it confuses people (and search engines).

官方文档位于:

要安装PHPUnit,请改用phpunit官方网站上的说明:

To install PHPUnit, follow the instructions at the official phpunit website instead:

例如做

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

然后

pear install --alldeps --force phpunit/PHPUnit