Issue:
When I run the container the suggested way, it doesn't run any tests:
docker run -v $(pwd):/var/www/html --rm bostonuniversity/php-test-runner
PHPUnit 5.7.27 by Sebastian Bergmann, Julien Breux (Docker) and contributors.
Time: 165 ms, Memory: 2.00MB
No tests executed!
Generating code coverage report in Clover XML format ... done
Generating code coverage report in HTML format ... done
To make it work, I use the custom command /var/www/html/vendor/bin/phpnit:
docker run -v $(pwd):/var/www/html --rm bostonuniversity/php-test-runner /var/www/html/vendor/bin/phpunit
Expected behavior:
The default command should execute tests.
Issue:
When I run the container the suggested way, it doesn't run any tests:
To make it work, I use the custom command
/var/www/html/vendor/bin/phpnit:Expected behavior:
The default command should execute tests.