T
T
theEternalStudent2016-03-07 19:16:16
Laravel
theEternalStudent, 2016-03-07 19:16:16

How to run PHPUnit in laravel (windows 10, openserver)?

How to run PHPUnit in laravel (windows 10, openserver)? I tried to write "phpunit", "php phpunit", "php artisan phpunit" in the console in the project folder - the test does not start. What to do?

Answer the question

In order to leave comments, you need to log in

4 answer(s)
T
theEternalStudent, 2016-03-09
@theEternalStudent

Decision. Run "vendor\bin\phpunit"

M
Muhammad, 2016-03-07
@muhammad_97

1. Install PHP Unit globally
2. Create phpunit.xml file ( example )

E
Eugene, 2016-03-07
@Nc_Soft

Feel free to install vagrant and use their homestead

V
Vyacheslav Plisko, 2016-03-08
@AmdY

With globally installed phpunit, laravel works crookedly, run the vendor's ./vendor/bin/phpunit

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question