phpunit装配

WBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWB
Release: 2016-06-13 10:39:42
Original
728 people have browsed it

phpunit安装

如果没有安装pear先安装pear

http://pear.php.net/go-pear.phar

下载文件go-pear.phar到php安装目录下

命令行执行:php go-pear.phar

?

添加channel:

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

然后安装PHPUnit:

pear install phpunit/PHPUnit

?

如果安装失败

那么我们更新一下pear就可以了:

pear channel-update pear.php.net
pear upgrade-all

再安装:

pear install phpunit/PHPUnit

?

来安装PHPUnit,应该就可以看到Install ok了。

如果还是不行,执行下

pear clear-cache

再安装

Related labels:
source:php.cn
Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Latest Issues
Pear installation in Windows XAMPP PHP 8.1.10
From 1970-01-01 08:00:00
0
0
0
Pear Admin Think ​How the menu traverses data
From 1970-01-01 08:00:00
0
0
0
PhpUnit 9 fails on php 8+
From 1970-01-01 08:00:00
0
0
0
PHP fatal error cannot open required file
From 1970-01-01 08:00:00
0
0
0
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template