久久久久久久视色,久久电影免费精品,中文亚洲欧美乱码在线观看,在线免费播放AV片

<center id="vfaef"><input id="vfaef"><table id="vfaef"></table></input></center>

    <p id="vfaef"><kbd id="vfaef"></kbd></p>

    
    
    <pre id="vfaef"><u id="vfaef"></u></pre>

      <thead id="vfaef"><input id="vfaef"></input></thead>

    1. 站長資訊網(wǎng)
      最全最豐富的資訊網(wǎng)站

      一文搞定phpstorm+laravel+phpunit的配置

      下面由phpstorm教程欄目給大家介紹phpstorm-laravel-phpunit,希望對需要的朋友有所幫助!

      一,新建composer.json文件

      {     "require": {         "yzalis/identicon": "^1.1",         "phpunit/phpunit": "5.5.*"     } }

      二,運(yùn)行composer install,得到如下目錄結(jié)構(gòu)

      一文搞定phpstorm+laravel+phpunit的配置

      三,復(fù)制yzalis/phpuit.xml.dist到項(xiàng)目的根目錄下,并重命名為phpunit.xml

      四,配置phpstorm的php環(huán)境

      一文搞定phpstorm+laravel+phpunit的配置

      五,配置PHPUnit環(huán)境

      一文搞定phpstorm+laravel+phpunit的配置

      六,新建RunTest.php文件

      <?php  namespace demo1; use IdenticonIdenticon; use PHPUnitFrameworkTestCase; class RunTest extends TestCase{          public function testDemo(){         $identicon = new Identicon();         $img = $identicon->getImageData('bar',512);         file_put_contents('./a.png',$img);     } }

      七,執(zhí)行

      一文搞定phpstorm+laravel+phpunit的配置

      八,輸出

      一文搞定phpstorm+laravel+phpunit的配置

      贊(0)
      分享到: 更多 (0)
      網(wǎng)站地圖   滬ICP備18035694號-2    滬公網(wǎng)安備31011702889846號