[转]在Windows中安装PhpUnit
生活随笔
收集整理的這篇文章主要介紹了
[转]在Windows中安装PhpUnit
小編覺得挺不錯的,現在分享給大家,幫大家做個參考.
FROM :?http://www.cnblogs.com/heiing/archive/2012/09/07/2674807.html
步驟:
輸出
Attempting to discover channel "pear.phpunit.de"... downloading channel.xml ... Starting to download channel.xml (804 bytes) ....done: 804 bytes Auto-discovered channel "pear.phpunit.de", alias "phpunit", adding to registry Attempting to discover channel "pear.symfony-project.com"... downloading channel.xml ... Starting to download channel.xml (865 bytes) ...done: 865 bytes Auto-discovered channel "pear.symfony-project.com", alias "symfony", adding to r egistry Did not download optional dependencies: phpunit/PHP_Invoker, use --alldeps to do wnload automatically phpunit/PHPUnit can optionally use package "phpunit/PHP_Invoker" (version >= 1.1 .0) phpunit/PHP_CodeCoverage can optionally use PHP extension "xdebug" (version >= 2 .0.5) downloading PHPUnit-3.6.12.tgz ... Starting to download PHPUnit-3.6.12.tgz (119,220 bytes) ...done: 119,220 bytes downloading File_Iterator-1.3.1.tgz ... Starting to download File_Iterator-1.3.1.tgz (5,157 bytes) ...done: 5,157 bytes downloading Text_Template-1.1.1.tgz ... Starting to download Text_Template-1.1.1.tgz (3,622 bytes) ...done: 3,622 bytes downloading PHP_CodeCoverage-1.1.3.tgz ... Starting to download PHP_CodeCoverage-1.1.3.tgz (132,726 bytes) ...done: 132,726 bytes downloading PHP_Timer-1.0.2.tgz ... Starting to download PHP_Timer-1.0.2.tgz (3,686 bytes) ...done: 3,686 bytes downloading PHPUnit_MockObject-1.1.1.tgz ... Starting to download PHPUnit_MockObject-1.1.1.tgz (19,897 bytes) ...done: 19,897 bytes downloading YAML-1.0.6.tgz ... Starting to download YAML-1.0.6.tgz (10,010 bytes) ...done: 10,010 bytes downloading PHP_TokenStream-1.1.3.tgz ... Starting to download PHP_TokenStream-1.1.3.tgz (9,860 bytes) ...done: 9,860 bytes install ok: channel://pear.phpunit.de/File_Iterator-1.3.1 install ok: channel://pear.phpunit.de/Text_Template-1.1.1 install ok: channel://pear.phpunit.de/PHP_Timer-1.0.2 install ok: channel://pear.symfony-project.com/YAML-1.0.6 install ok: channel://pear.phpunit.de/PHP_TokenStream-1.1.3 install ok: channel://pear.phpunit.de/PHP_CodeCoverage-1.1.3 install ok: channel://pear.phpunit.de/PHPUnit_MockObject-1.1.1 install ok: channel://pear.phpunit.de/PHPUnit-3.6.12此時應發現 php 目錄下,有phpunit,phpunit.bat兩個文件,PEAR目錄下有PHPUnit目錄。
使用 phpunit --version 有 PHPUnit 3.6.12 by Sebastian Bergmann. 輸出,說明安裝成功。
總結
以上是生活随笔為你收集整理的[转]在Windows中安装PhpUnit的全部內容,希望文章能夠幫你解決所遇到的問題。
- 上一篇: python判断输入的数字是完全平方还是
- 下一篇: paip.gui控件tabs控件加载内容