Develop functions locally
Cloud Run functions supports several methods of running your functions outside of the target deployment environment. This is particularly useful for iterative development, and for situations where you want to test your function before deploying.
- To learn how to locally develop and test a function using Functions Framework, see Local Functions Development. This document applies to functions created using either the Cloud Functions v2 API or the Cloud Run Admin API.
- To learn how to directly call a function that was created with the
Cloud Functions v2 API
using the Google Cloud CLI
gcloud functions call
command, see Call Cloud Run functions directly.