phpunit, symfony, Bitnami WAMP.

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • gintare
    New Member
    • Mar 2007
    • 103

    #1

    phpunit, symfony, Bitnami WAMP.

    Command: phpunit -c app
    is not working under
    Symfony, Bitnami WAMP, Windows 7.

    I changed compose.json file in symfony project;
    C:\Bitnami\wamp stack-5.4.38-0\sym_prog\mypr oject\composer. json
    ....
    "require-dev": {
    "sensio/generator-bundle": "~2.3"
    "phpunit/phpunit":"4.5.* "
    }, ....

    I used Windows command line tool and command:
    composer global require "phpunit/phpunit=4.5.*"

    as it is advised by:
    https://phpunit.de/manual/current/en/installation.ht ml#installation .composer

    According command line output composer installed phpunit:
    - Installing phpunit/phpunit (4.5.0)
    Downloading: connection...
    Downloading: 100%

    But i can not find phpunit in any of Wampstack folders, and
    command: phpunit -c app
    is not working.

    1) How to check where phpunit was installed? Most probably i just need to add to the path "phpunit.ph p"? I made search in windows folders, but it does not find anything. I also used command line
    "php -i | grep phpunit"
    but it also does not find anything.
    2) How to install phpunit correctly? if my way of using composer in the project folder is wrong.
Working...