Add google/cloud-tools to the require-dev section of your
composer.json.
You can also run the following command:
$ composer require google/cloud-tools --dev
The example test cases are available in
test/fixtures/appengine-standard directory.
There are multiple environment variables to control the behavior of our test traits.
RUN_DEVSERVER_TESTS: Set totrueif you want to run tests with DevAppserverTestTraitPHP_CGI_PATH: Path tophp-cgifor running dev_appserverLOCAL_TEST_TARGETS: You can specify multiple yaml files if your test need multiple services.RUN_DEPLOYMENT_TESTS: Set totrueif you want to run tests with AppEngineDeploymentTraitGOOGLE_PROJECT_ID: The project id for deploying the applicationGOOGLE_VERSION_ID: The version id for deploying the application