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)