Skip to content

The default command does nothing #3

Description

@anton-kachurin

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.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions