Skip to content
This repository was archived by the owner on Nov 1, 2019. It is now read-only.
This repository was archived by the owner on Nov 1, 2019. It is now read-only.

Need info how to run PHPUnit functional tests (BrowserTestCase) #12

@rpsu

Description

@rpsu

I can't seem to get the functional PHPUnit tests run without errors. Inside core/phpunit.xml I have set this:
<env name="BROWSERTEST_OUTPUT_DIRECTORY" value="/var/www/html/modules/regcode_simple/phpUnitHTML"/> (where regcode_simple is the module name)

Running tests from the host with
$> .docker/phpunit.sh --group regcode_simple
has mkdir() perm issues:
phpunit_host
Running tests from the docker directly with
root@10e9cb3215cf:/var/www/html/core# ../vendor/bin/phpunit --group regcode_simple
fails with connection problem:
phpunit_docker

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions