• 安装单元测试 PHPUnit

    ➜ wget https://phar.phpunit.de/phpunit.phar
    
    ➜ chmod +x phpunit.phar
    
    ➜ sudo mv phpunit.phar /usr/local/bin/phpunit
    
    ➜ phpunit --version 
    
    1. phpStrom -> languages & Frameworks -> PHP -> PHPUnit -> Path to phpunit.phar
    2. Default configuration file [phpunit.xml]
    3. 选中测试方法 control + shift + R