win+PHPUnit单元测试

win+PHPUnit单元测试 1.首先安装phpunit环境 1)先去官网(https://phpunit.de)下载适合自己php版本的phpunit,把下载的文件重命名为phpunit.phar 2)把放phpunit.phar的目录设置为环境变量,我的放在C:\phpStudy\PHPTutorial\WWW\phpunit下,如图: 3)cmd进入到命令行,切换到C:\phpStudy\
相关文章
相关标签/搜索