wget https://phar.phpunit.de/phpunit-7.0.phar
chmod +x phpunit-7.0.phar
mv phpunit-7.0.phar /usr/local/bin/phpunit
phpunit --version
创新互联总部坐落于成都市区,致力网站建设服务有成都做网站、网站设计、网络营销策划、网页设计、网站维护、公众号搭建、微信小程序、软件开发等为企业提供一整套的信息化建设解决方案。创造真正意义上的网站建设,为互联网品牌在互动行销领域创造价值而不懈努力!
git clone https://github.com/sebastianbergmann/money.git
b. 进入测试包:
cd money
c. 直接测试:
phpunit --bootstrap src/autoload.php tests
d. 创建 xml 配置文件测试:
d-1. 创建配置文件:
vim phpunit.xml
<phpunit bootstrap="src/autoload.php">
<testsuites>
<testsuite name="随便取">
<directory>tests</directory>
</testsuite>
</testsuites>
</phpunit>
d-2. 命令:
phpunit tests
名称栏目:phpunit部署
网页URL:https://www.cdcxhl.com/article30/ijchso.html
成都网站建设公司_创新互联,为您提供软件开发、自适应网站、关键词优化、定制开发、移动网站建设、用户体验
声明:本网站发布的内容(图片、视频和文字)以用户投稿、用户转载内容为主,如果涉及侵权请尽快告知,我们将会在第一时间删除。文章观点不代表本网站立场,如需处理请联系客服。电话:028-86922220;邮箱:631063699@qq.com。内容未经允许不得转载,或转载时需注明来源: 创新互联