Answers for "laravel phpunit not run test"

PHP
0

laravel phpunit not run test

CHECK if you are using PhpUnit.
If yes then the following apply:

- change file and class name end with Test.php
example: ProductTest.php
- change function name start with test
example: testIndexProduct()
  
- check phpunit global(/usr/bin/php) vs local(./vendor/bin/phpunit)
Posted by: Guest on April-18-2022

Browse Popular Code Answers by Language