Skip to content

[GOVCMS-14463] Added development dependencies to the Test image. - #577

Open
barbun wants to merge 2 commits into
govCMS:4.x-developfrom
barbun:feature/GOVCMS-14463_phpunit-testing
Open

[GOVCMS-14463] Added development dependencies to the Test image.#577
barbun wants to merge 2 commits into
govCMS:4.x-developfrom
barbun:feature/GOVCMS-14463_phpunit-testing

Conversation

@barbun

@barbun barbun commented Aug 25, 2026

Copy link
Copy Markdown
Contributor

Description

Replaces #539
Internal ticket: GOVCMS-14463

Fixes phpunit testing by adding all the testing dependencies to the require-dev in composer.json 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

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