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.