---
title: "Testing a newly-generated composer.json file"
date: "2024-02-14T06:18:38+00:00"
summary: "Learn how to review and test a newly-generated composer.json file for your Drupal site. Ensure all necessary modules are included and your website functions correctly with this essential guide."
image:
type: "page"
url: "/acquia-cloud-platform/testing-newly-generated-composerjson-file"
id: "31878983-7f67-4477-9b39-56ecf5574d85"
---

If the [Remote Administration](/acquia-cms/ra) (RA) team has provided you with a generated `composer.json` file, you must review it to ensure the file specifies all components you need to build your website.

Acquia’s automation generates the `composer.json` file using an Acquia template and the modules located in your `/modules` folder following the [docroot](/definitions/docroot) directory.

When reviewing and testing a newly generated `composer.json` file, perform the following steps:

1.  Review the contents of the generated `composer.json` file, located above the [docroot](/definitions/docroot) directory.
    
2.  Ensure all modules included in your codebase have been detected and included in the file.
    
    Note
    
    Contributed modules for Drupal are listed in the **require** section of the `composer.json file`. The contributed modules included in your codebase are located in your `/module` folder following the [docroot](/definitions/docroot) directory, or in the **Modules** section of the Drupal administrative interface.
    
3.  Ensure your website is functioning as expected with the `composer.json` file in place. Missing modules or packages in the file may cause performance problems or visible errors on your website.
    

Getting help in the testing process
-----------------------------------

To assist you in testing, the Remote Administration team can deploy your branch as a tag to a non-production environment, during [Step 2](/acquia-cms/ra/security-update-process#ra-security-step-two) of the update process.

For best results, Acquia doesn’t recommend performing this testing on the RA environment.