-
Notifications
You must be signed in to change notification settings - Fork 133
Laravel setup
Johannes Skov Frandsen edited this page Sep 7, 2015
·
1 revision
It's simple to use VisualPHPUnit with Laravel. Assuming you have successfully installed with the above instructions, and the sample tests run, you need only do the following:
- In
app/config/bootstrap.phpadd the path to your Laravel project's tests directory to thetest_directoriesarray (eg: '/var/www/laravel/tests') - In
app/config/bootstrap.phpadd your Laravel project's autoload.php to thebootstrapsarray (eg: '/var/www/laravel/bootstrap/autoload.php') - Now reload VisualPHPUnit and run the tests from your Laravel project.