Hi, I tried to use the PHPUnit option --testdox and it didn’t work. Example below:
composer test --testdox
Whereas the below command worked.
./vendor/bin/phpunit --testdox
Thanks!
Hi, I tried to use the PHPUnit option --testdox and it didn’t work. Example below:
composer test --testdox
Whereas the below command worked.
./vendor/bin/phpunit --testdox
Thanks!
Check the Composer documentation and you will find a special argument separation operator --
:
Thanks! For people who would want to know the difference in commands. The answer is below.
composer test -- --testdox