---
title: "How do I enable or execute PHPUnit tests in the Test Drupal stage?"
date: "2025-05-26T13:29:12+00:00"
summary: "Learn how to run PHPUnit tests in the Test Drupal stage by configuring essential environment variables for seamless execution."
image:
type: "article"
url: "/acquia-cloud-platform/add-ons/code-studio/help/69241-how-do-i-enable-or-execute-phpunit-tests-test-drupal-stage"
id: "c1cd54a9-f023-4938-baea-f689e6e02e84"
---

Ensure that the `ACQUIA_TASKS_PHPUNIT` and `ACQUIA_TASKS_SETUP_DRUPAL` environment variables are set to `true`.