According to this issues: https://github.com/Codeception/Codeception/issues/3684
vendor/bin/codecept is a symlink to ../codeception/codeception/codecept so that require_once call works correctly.
I know there is something wrong with symlink.we cann't make symlink in virtualbox share folder.
but how to deal with this problem,I must make the code in the share folder in virtulbox, can we remove this path dependence?
class_name: ApiTester
modules:
enabled:
- REST:
depends: PhpBrowser
url: http://localhost/
You could run vendor/codeception/codeception/codecept directly:
php vendor/codeception/codeception/codecept run
Good idea, thanks very much!
but why not add a shell script in bin/codecept?
symlink not support in windows.
It is a question for composer, not us.
Most helpful comment
You could run
vendor/codeception/codeception/codeceptdirectly:php vendor/codeception/codeception/codecept run