php - Executing phpunit test in laravel -
when run phpunit tests in laravel using /vendor/bin/phpunit
tests executed , results generated. able tests on single file /vendor/bin/phpunit </tests/<filename>
however, when execute following command fails:
./vendor/bin/phpunit ./
fatal error: class 'codeception\module\orderhelper' not found in /vendor/codeception/codeception/tests/data/claypit/tests/order/parsedloadedtest.php on line 2
but see orderhelper
file still exist.
<project-folder>/vendor/codeception/codeception/tests/data/claypit/tests/_support/orderhelper.php
can me in this?
the directory passed phpunit should directory tests are. change ./vendor/bin/phpunit ./tests
, should work fine.
Comments
Post a Comment