当前位置:网站首页>How to configure phpunit under window
How to configure phpunit under window
2022-07-28 08:36:00 【51CTO】
Refer to the link address http://www.phpunit.cn/manual/5.7/zh_cn/installation.html
PHPUnit Chinese official website http://www.phpunit.cn/
We need to download the required version from the official website , Pay attention to yourself PHP The development version of , The file downloaded here may be in this format (phpunit-5.7.21.phar), Here, if we directly use this for subsequent operations , Errors may be reported during the final operation
According to the prompt , We are very clear that the problem is the file name , Therefore, you need to modify the file name phpunit.phar.
Download the required files , Only we can complete the operation in a few simple steps :
1. Create a folder anywhere , for example : The folder I created is in D:\phpextension\phpunit;
2. Next , We need to put the downloaded files into the created folder ;
3. Then we need to add this path to path In the environment variables ;
4. then ,Windows+R » Input cmd » ENTER
5. Create an outsourcing overlay batch script ( Finally get D:\phpextension\phpunit\phpunit.cmd):
- D:\>phpextension\phpunit
D:\phpextension\phpunit> echo @php "%~dp0phpunit.phar" %* > phpunit.cmdD:\phpextension\phpunit>
exit
- Open a new command line window , Confirm that it can be executed in any path PHPUnit:
边栏推荐
- 半桥BUCK电路—记录篇
- The current value of uniapp's swiper dynamic setting does not take effect solution
- Kubernetes技术与架构(七)
- How to set it to pop up the right-click menu
- 五张图看懂EMI电磁干扰的传播过程-方波陡峭程度对高频成分的影响,时序到频域频谱图形,波形形状对EMI辐射的影响。
- Openstack dashboard configuring public network access
- 优炫数据库导入和导出方法
- When unity switches to another scene, he finds that the scene is dimmed
- PHPUnit在Window下如何配置
- Window 2 - > toolbar (28-1)
猜你喜欢

Prescan quick start to proficient in lecture 17, speed curve editor

Melt cloud x chat, create a "stress free social" habitat with sound

招贤纳士,GBASE高端人才招募进行中

半桥BUCK电路—记录篇

博客搭建九:hugo添加搜索功能

Prescan quick start to master the track editing path of Lecture 16

Characteristics of EMC EMI beads

2022 Niuke multi school second problem solving Report
![[Qt5] QT small software release](/img/83/9867bd4513caadac6a056c801abe48.png)
[Qt5] QT small software release

一键开关机电路
随机推荐
CI框架如何集成Smarty模板
阻塞队列LinkedBlockingQueue 源码解析
Day112.尚医通:手机验证码登录功能
Redis 基本知识,快来回顾一下
PHP基础知识 - PHP 使用 MySQLI
MCU IO port controls 12V voltage on and off, MOS and triode circuit
SQL注入 ----前置基础
微信小程序----微信小程序浏览pdf文件
JS cartoon English alphabet typing game source code
Sparksql and flinksql create and link table records
Mysql-怎么添加用户和设置权限?
The current value of uniapp's swiper dynamic setting does not take effect solution
GBase 8s是否支持存储关系型数据和对象型数据?
bash-shell 免交互
Es6: template string
【MindSpore易点通机器人-01】你也许见过很多知识问答机器人,但这个有点不一样
leetcode/排序数组中两个数字之和
Opencv+paddle Orc recognize pictures and extract table information
博客搭建七:hugo
One key switch circuit