1 頁 (共 1 頁)

php unit install

發表於 : 2013-09-12 11:03:26
yehlu

代碼: 選擇全部

{
        "require": {
            "phpunit/phpunit": "3.*"
        }
}

root@nas:/var/www/spi# composer update
Loading composer repositories with package information
Updating dependencies (including require-dev)
- Installing symfony/yaml (v2.3.4)
Downloading: 100%

- Installing phpunit/php-text-template (1.1.4)
Downloading: 100%

- Installing phpunit/phpunit-mock-objects (1.2.3)
Downloading: 100%

- Installing phpunit/php-timer (1.0.5)
Downloading: 100%

- Installing phpunit/php-token-stream (1.2.0)
Downloading: 100%

- Installing phpunit/php-file-iterator (1.3.3)
Downloading: 100%

- Installing phpunit/php-code-coverage (1.2.13)
Downloading: 100%

- Installing phpunit/phpunit (3.7.25)
Downloading: 100%

phpunit/php-code-coverage suggests installing ext-xdebug (>=2.0.5)
phpunit/phpunit suggests installing phpunit/php-invoker (>=1.1.0,<1.2.0)
Writing lock file
Generating autoload files

Re: php unit install

發表於 : 2013-10-14 08:35:16
yehlu
2013-10-14
http://ithelp.ithome.com.tw/question/10 ... =ithome.nq

代碼: 選擇全部

Z:\phpunit>composer install
Warning: This development build of composer is over 30 days old. It is recommen
ed to update it by running "C:\ProgramData\Composer\bin\composer.phar self-upda
e" to get the latest version.
Loading composer repositories with package information
Installing dependencies (including require-dev)
  - Installing symfony/yaml (v2.3.6)
    Downloading: 100%

  - Installing phpunit/php-text-template (1.1.4)
    Loading from cache

  - Installing phpunit/phpunit-mock-objects (1.2.3)
    Loading from cache

  - Installing phpunit/php-timer (1.0.5)
    Loading from cache

  - Installing phpunit/php-token-stream (1.2.1)
    Loading from cache

  - Installing phpunit/php-file-iterator (1.3.4)
    Downloading: 100%

  - Installing phpunit/php-code-coverage (1.2.13)
    Loading from cache

  - Installing phpunit/phpunit (3.7.27)
    Downloading: 100%

phpunit/phpunit-mock-objects suggests installing ext-soap (*)
phpunit/php-code-coverage suggests installing ext-xdebug (>=2.0.5)
phpunit/phpunit suggests installing phpunit/php-invoker (>=1.1.0,<1.2.0)
Writing lock file
Generating autoload files

Z:\phpunit>composer self-update
Updating to version cd209e31808423733666e82aaaa18deb783536bc.
    Downloading: 100%