Skip to content

phpunit not working in ddev on Mac #39

Description

@finnlewis

Hey folks, this is great!

It works a treat on my Ubuntu machine, following the steps fro the README.md.

However, on my Mac, phpunit does not seem to be working.

When attempting to run phpunit, I get the following:

finn$ ddev phpunit core/modules/sdc
Clearing old webdriver sessions
PHPUnit 10.5.26 by Sebastian Bergmann and contributors.

Unknown option "--verbose"
Failed to run phpunit core/modules/sdc: exit status 2

I'm using ddev version v1.23.3 on both machines.

I followed the same steps, copied below:

git clone https://git.drupalcode.org/project/drupal.git drupal
cd drupal
ddev config --omit-containers=db --disable-settings-management
ddev start
ddev get justafish/ddev-drupal-core-dev
ddev restart
ddev composer install

# See included commands
ddev drupal list

# Install drupal
ddev drupal install

# Run PHPUnit tests
ddev phpunit core/modules/sdc

# Run Nightwatch tests (currently only runs on Chrome)
ddev nightwatch --tag core

Any ideas?

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

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions