Skip to content

The default command does nothing #3

@anton-kachurin

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions