Example Analysis of phpunit customization
This article mainly introduces the example analysis of phpunit customization, which is very detailed and has certain reference value. Friends who are interested must finish it!
Download:
Wget https://phar.phpunit.de/phpunit-7.0.pharchmod + x phpunit-7.0.pharmv phpunit-7.0.phar / usr/local/bin/phpunitphpunit-- version
Create a folder:
Mkdir srcmkdir tests
Create a test file:
a. Automatically load:
Vim src/autoload.php