当前位置:网站首页>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:
边栏推荐
- Can a flinksql script write insert statements for two tables?
- Prescan quick start to master the transportation elements in lesson 14, prescan
- UE4 engine customizes screenpass and MRT output
- SQL Server查询结果导出到EXCEL表格
- js卡通英文字母打字小游戏源码
- Deluxe H5 Tetris game source code
- uniapp上下滑屏切换支持视频和图片轮播实现,类似抖音效果
- SQL function
- 5张图告诉你:同样是职场人,差距怎么这么大?
- pyflink连接iceberg 实践
猜你喜欢

解决EMC、EMI传导干扰的八大方法
![[pyqt] pyqt development experience_ How to find events and methods of controls](/img/40/7597d6413c88793e22276325d5f602.png)
[pyqt] pyqt development experience_ How to find events and methods of controls

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

49-OpenCv深入分析轮廓

机器学习如何做到疫情可视化——疫情数据分析与预测实战

Puzzle (004.3) pattern puzzle

EMC EMI磁珠的特性

How to write a JMeter script common to the test team

Five screens, VR, projection, "Wei Xiaoli" rolled up on the intelligent cockpit

2022 Niuke multi school first problem solving Report
随机推荐
2022牛客多校第二场解题报告
阿里巴巴内部面试资料
阻塞队列LinkedBlockingQueue 源码解析
Understand the propagation process of EMI electromagnetic interference through five diagrams - the influence of square wave steepness on high-frequency components, the spectrum graph from time sequenc
2022牛客多校第二场解题报告
Get the clicked line number in qtablewidget
Feign call
js糖果消消乐小游戏源码
[leetcode] 24. Exchange nodes in the linked list in pairs
How to use QT help documents
An article to understand data warehouse: metadata classification, metadata management
js卡通英文字母打字小游戏源码
Allure use
数字签名和CA证书
Exception handling in SQL Server
Can‘t connect to server on ‘IP‘ (60)
Pyflink connecting iceberg practice
SQL function
When unity switches to another scene, he finds that the scene is dimmed
leetcode/数组中和为0的三个不同数