Skip to content

fix: phpunit testing#539

Open
jackwrfuller wants to merge 1 commit intogovCMS:4.x-developfrom
jackwrfuller:drupal-test-traits
Open

fix: phpunit testing#539
jackwrfuller wants to merge 1 commit intogovCMS:4.x-developfrom
jackwrfuller:drupal-test-traits

Conversation

@jackwrfuller
Copy link
Copy Markdown
Contributor

@jackwrfuller jackwrfuller commented Mar 27, 2026

Description

Internal ticket: GOVCMS-14463

Fixes phpunit testing by making all the testing dependencies --dev dependencies that only get included in the test image (not the cli image).

This also avoids having to composer install these deps at the scaffold layer, since they are baked into the test image.

It also adds support for Drupal Test Traits, as requested by govCMS/GovCMS#1481

The exact dep version probably need a review, but this is a good starting point.

After this change is merged, we will need to merge govCMS/scaffold#142 so that new projects can run tests out of the box.

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

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant