CI\CD for GCP Serverless Cloud Functions — 002 — Testing
Nov 1 · 8 min read
We want to run our test on the code before deploying it, so we don’t deploy a Cloud Function that breaks our serverless application.
If you just starting with CI\CD for CloudFunction on GCP, I recommend you read this article first: CI\CD for GCP Serverless Cloud Functions — 001
So, we need to have a test script for our function, and we need to run this test after we push the code to our repository.

