Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PHP

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)
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #laravel #phpunit #run #test
ADD COMMENT
Topic
Name
1+3 =