Using phpunit in laravel 4 without /vendor/bin/
I have installed phpunit in this instance of laravel using composer. The
files are present in the laravel/vendor/bin folder. when I run
vendor/bin/phpunit the example test runs. In all the tutorials I am
watching on unit testing in laravel the tutors simply run phpunit and it
runs the test.
In the laravel documentation it says that I should be able to simply run
phpunit to initiate the tests.
Is the documentation refering to phpunit being installed system wide and
do the tutors in the video simply have it installed system wide or am I
missing something?
No comments:
Post a Comment