当前位置:网站首页>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:
边栏推荐
- opencv+paddle orc 识别图片提取表格信息
- UE4 engine customizes screenpass and MRT output
- How to set it to pop up the right-click menu
- Deluxe H5 Tetris game source code
- Usage of qmap
- 阻塞队列LinkedBlockingQueue 源码解析
- Sparksql and flinksql create and link table records
- js卡通英文字母打字小游戏源码
- Simple use of unity queue
- 一篇文章搞懂数据仓库:元数据分类、元数据管理
猜你喜欢
随机推荐
Regular expression for mobile number verification
ASP. Net core foundation VIII
pyflink连接iceberg 实践
Can‘t connect to server on ‘IP‘ (60)
How to build the protection system of class protection technology of 2022 series of ISO compliance (Part I)
2022牛客多校第一场解题报告
GBASE亮相联通云巡展(四川站) 以专业赋能云生态
SQL function
单片机IO口控制12V电压通断,MOS和三极管电路
How does QT delete all controls in a layout?
49-OpenCv深入分析轮廓
博客搭建七:hugo
One key switch circuit
pyspark更改列顺序存入iceberg数据库
Use of namespaces
The fourth phase (2021-2022) research on the implementation of cloud native technology in traditional industries - central state-owned enterprises was officially released
Technology sharing | common proxy tools for interface testing
Day112.尚医通:手机验证码登录功能
网口网络水晶头RJ45、POE接口定义线序
Meituan Er Mian: why does redis have sentinels?









