PHP:PHPUnit安装

本文提供了一个简单的PHPUnit安装指南,包括确认PEAR已安装,并通过PEAR安装PHPUnit的过程。

如果没有安装pear请看我博客中pear安装一文。

确定pear安装成功后,就可以安装PHPUnit了

这是一个非常简单而愉快的事情

官方文档:http://www.phpunit.de/manual/3.0/en/installation.html

1)进入php安装目录 

2) The PEAR channel (pear.phpunit.de) that is used to distribute PHPUnit needs to be registered with the local PEAR environment:
执行:pear channel-discover pear.phpunit.de
3) This has to be done only once. Now the PEAR Installer can be used to install packages from the PHPUnit channel:
执行:pear install phpunit/PHPUnit

然后就完成了

评论
成就一亿技术人!
拼手气红包6.0元
还能输入1000个字符
 
红包 添加红包
表情包 插入表情
 条评论被折叠 查看
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值