: This article describes how to install Pear and PHPUnit in the WAMP integrated environment !, If you are interested in the PHP Tutorial, refer. Install phpunit in wamp environment
I have found a lot of information before. it is clear that the installation method of my previous article has expired in a blog of my predecessors. I still follow the instructions. as a result, I always reported an error during installation.
The command executed N + times, determined not for the sake of the network, I turned to their official documentation, address: https://phpunit.de/manual/5.0/en/installation.html, has been affirmed before, the environment is: win8 64bit + php5.3.10 + Apache2.2.21
Find the installation method for Windows
Php installation directory and environment variable configuration. steps 1 and 2 in the figure can be simplified as one step.
Download the https://phar.phpunit.de/phpunit.pharfile to the php installation directory, for example, E: \ phptools \ wampServer \ wamp \ bin \ php \ php5.3.10.
Windows + R call up cmd command line tool
Create a phpunit script
Switch to your php installation directory first
Enter the command echo @ php "% ~ Dp0phpunit. phar "% *> phpunit. cmd
After the command is executed, the phpunit. cmd script is generated in the php installation directory.
Exit command, exit cmd
Open a command line window again and run the command: phpunit-version to check whether the installation is successful!
It took so long to see the latest official version ~~~ One afternoon, I changed several static pages and the time was spent here. I hope you can refer to them to improve efficiency!
'). AddClass ('pre-numbering '). hide (); $ (this ). addClass ('Has-numbering '). parent (). append ($ numbering); for (I = 1; I <= lines; I ++) {$ numbering. append ($ ('
'). Text (I) ;}; $ numbering. fadeIn (1700) ;}) ;}; script
The above describes how to install Pear and PHPUnit in the WAMP integration environment !, Including some content, hope to be helpful to friends who are interested in PHP tutorials.