当前位置:网站首页>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:
边栏推荐
- [book club issue 13] Chapter 1 multimedia processing tools ffmpeg tools
- Usage of qmap
- 优炫数据库导入和导出方法
- Window 1 - > main window of the application (27)
- Openstack dashboard configuring public network access
- Pyflink connecting iceberg practice
- Usage of constructors
- 百度智能云九州区县大脑,描绘城乡新蓝图!
- How does QT delete all controls in a layout?
- CarSim simulation quick start (XI) - Driver Model (1)
猜你喜欢

Meituan Er Mian: why does redis have sentinels?

sql server时间字段排序

2022 Niuke multi school second problem solving Report

CarSim simulation quick start (XII) - Driver Model (2)

阻塞队列LinkedBlockingQueue 源码解析

2022牛客多校第二场解题报告

Es6: arrow function usage

bash-shell 免交互

CAT1 4G+以太网开发板232数据通过4G模块TCP发到服务器

Kubernetes技术与架构(七)
随机推荐
Creation of status bar (29)
Regular expression for mobile number verification
Understand CDN
Allure use
CarSim simulation quick start (10) - Modeling of braking system
[chart component kit] Shanghai daoning provides developers with steema download, trial and tutorial
Kubernetes技术与架构(七)
Puzzle (004.3) pattern puzzle
[Qt5] a method of multi window parameter transmission (using custom signal slot) and case code download
【OpenCV】生成透明的PNG图像
Matlab (3) matlab program flow control statement
sparksql 与flinksql 建表 与 连表记录
The fourth phase (2021-2022) research on the implementation of cloud native technology in traditional industries - central state-owned enterprises was officially released
CarSim simulation quick start (XIII) - steering system
49-OpenCv深入分析轮廓
2022牛客多校第二场解题报告
opengauss同步状态疑问
Prescan quick start to master the road elements of lecture 15
Characteristics of EMC EMI beads
优炫数据库导入和导出方法