Testing Approaches And Tools For AWS Lambda Serverless-Based Applications

With serverless-based applications are increasing their popularity, little is known on testing practices and tools available to test serverless functions. This work aims to identify testing approaches for serverless functions built for the Amazon Web Services cloud platform, and to demonstrate how to implement them to a full-stack application. For this purpose, we implemented unit, integration and system tests to an existing open source application providing insights of the testing practices and tools applicable. Results show that all the testing practices are applicable, even if there is a lack of tools to support end-to-end tests, especially for debugging.

This work has been accepted at the 1st Workshop on Serverless computing for pervasive cloud-edge-device systems and services, co-located with IEEE Percom ‘22 (March 21–25, 2022, Pisa, Italy)