Automatic Test Case Generation for Serverless Applications

Stefan Winzinger, Guido Wirtz · 2022

Testing is an important part of software development helping detect faults and gain confidence in the quality of the software. However, serverless computing, a new cloud computing model which emerged with Amazon’s introduction of AWS Lambda, still lacks testing support. In serverless computing, applications consist of several components mainly built around serverless functions whose integration has to be tested. In particular for regression tests and stress testing, many test cases are needed which have to cover different parts of the application. Therefore, we investigated how test cases can be built for serverless applications and what is needed for an automatic test case generation. Based on these requirements represented by a model, we built a tool which is able to create integration tests for some coverage criteria automatically and evaluated their potential on two applications. The results showed that integration test cases can be built for the supported criteria with a high coverage by our tool which can be helpful for regression or stress tests where many different test cases are needed.

Read the paper · More papers on PaperTik