A Reusable Automated Acceptance Testing Architecture for Microservices in Behavior-Driven Development

Mazedur Rahman, Jerry Gao

2015 · 76 citations · 3 references

Concepts

TL;DR

Cloud and mobile cloud computing demand scalability, fault tolerance, and continuous deployment, while microservices and behavior‑driven development address these needs but raise concerns about test reusability, auditability, and maintainability. The study proposes a reusable automated acceptance testing architecture to mitigate these concerns. The architecture provides a reusable framework that automates acceptance tests for microservices in BDD, enhancing reusability, auditability, and maintainability.

Abstract

Cloud Computing and Mobile Cloud Computing are reshaping the way applications are being developed and deployed due to their unique needs such as massive scalability, guaranteed fault tolerance, near zero downtime, etc. and also daunting challenges such as security, reliability, continuous deployment and update capability. Microservices architecture, where application is composed of a set of independently deployable services, is increasingly becoming popular due to its capability to address most of these needs and challenges. In recent years, the Behavior-Driven Development (BDD) has become one of the most popular agile software development processes, and frequently used in microservices development. The key to success of BDD is the executable acceptance tests that describe the expected behavior of a feature and its acceptance criteria in the form of scenarios using simple and business people readable syntax. The reusability, auditability, and maintainability become some of the major concerns when BDD test framework is applied for each microservice repository and no previous research addresses these concerns. In this paper, we present a reusable automated acceptance testing architecture to address all these concerns.

References

3