How to run PHPUnit for Laravel Project

Laravel is built with testing in mind. In fact, support for testing with PHPUnit is included out of the box, and a phpunit.xml file is already setup for your application. The framework also ships with convenient helper methods allowing you to expressively test your applications.
An ExampleTest.php file is provided in the tests directory. After installing a new Laravel application, simply run phpunit on the command line to run your tests.

For window user, you can run phpunit from the root project directory as follow:

project/name/rootdirectory> vendor/bin/phpunit (for Window users, unix users shoud use vender\bin\phpunit or phpuni)

The above command will test all test cases in the tests directory.