I just installed a new Laravel 5 project, my first in this version. It is assumed that PHPUnit is not included with the framework, and in every tutorial I have seen, just type phpunit in the project folder to run Unit Tests.
I checked and PHPUnit is in composer.json , I also did composer install and composer update just in case it won't be here
website(master)$ composer update Loading composer repositories with package information Updating dependencies (including require-dev) - Removing phpunit/phpunit (4.6.1) - Installing phpunit/phpunit (4.6.2) Downloading: 100%
But it just does not work phpunit is not recognized at all
website(master)$ phpunit -bash: phpunit: command not found
It seems that no one got this problem before I sorted it out. I hope I will not make a stupid mistake. Any idea or suggestion? Thanks guys;)
source share