10BC0 GitHub - deekshapai12/php-tools
[go: up one dir, main page]

Skip to content

deekshapai12/php-tools

 
 

Repository files navigation

Testing utilities for Google Cloud Platform

Install

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

Examples

The example test cases are available in test/fixtures/appengine-standard directory.

Environment variables

There are multiple environment variables to control the behavior of our test traits.

  • RUN_DEVSERVER_TESTS: Set to true if you want to run tests with DevAppserverTestTrait
  • PHP_CGI_PATH: Path to php-cgi for running dev_appserver
  • LOCAL_TEST_TARGETS: You can specify multiple yaml files if your test need multiple services.
  • RUN_DEPLOYMENT_TESTS: Set to true if you want to run tests with AppEngineDeploymentTrait
  • GOOGLE_PROJECT_ID: The project id for deploying the application
  • GOOGLE_VERSION_ID: The version id for deploying the application

About

No description, website, or topics provided.

Resources

License

Contributing

Stars

Watchers

Forks

Packages

No packages published

Languages

  • PHP 92.0%
  • Shell 8.0%
0