phpunitlaravel-5.5

Phpunit cannot find test, No test executed(Laravel)


I am using phpunit in laravel 5.5.

When I run test using

vendor/bin/phpunit .

it shows the error

no tests excucted.

In phpunit.xml file I set suffix of test directories.

But I don't know what is the problem.


Solution

  • I solved the problem.

    The solution is here:

    https://phpunit.readthedocs.io/en/7.1/installation.html#windows