Install phpunit in wamp environment
I searched a lot of information before, and it turns out that the installation method written in my previous article by a senior in my blog has expired. I still followed that method. As a result, when installing, I kept getting errors. The command was executed N+ times. , after confirming that it was not due to the network, I turned to the documentation on their official website, address: https://phpunit.de/manual/5.0/en/installation.html. As stated before, the environment is: win8 64bit + php5. 3.10 + Apache2.2.21
Find the Windows installation method
php installation directory, configure the environment variables, steps 1 and 2 in the picture can actually be simplified to one step
Replace https:/ Download the /phar.phpunit.de/phpunit.phar file to the php installation directory. For example, mine is: E:phptoolswampServerwampbinphpphp5.3.10
Windows+R Call up the cmd command line tool
Create a phpunit script
First switch to your php installation directory
exit command will be generated in the php installation directory to exit cmd
Then reopen a command line window and use the command: phpunit –version to check whether the installation is successful!
').addClass('pre-numbering').hide(); $(this).addClass('has-numbering').parent().append($numbering); for (i = 1; i
').text(i)); }; $numbering.fadeIn(1700); }); });The above introduces the PHP novice-installing Pear and PHPUnit in the WAMP integrated environment-success! , including relevant content, I hope it will be helpful to friends who are interested in PHP tutorials.