Affiliation:
1. Izmir Institute of Technology, Urla Izmir, 35430 Turkey
Abstract
As the number of microservice applications rises, different development methodologies for them are under consideration. In this manuscript, we propose a behavior-driven development method for microservice applications. The proposed method starts with writing end-to-end tests at the system or application level and then moves down to the microservice level, where component and unit tests are written. Next, code that passes these tests is developed one by one for each level. Once user stories are covered, our method loops again to integrate negative tests to achieve holistic testing for the microservices and the application. Finally, the proposed method is validated with an application with five microservices. Results confirm that the proposed method matches with the generally accepted test pyramid.
Publisher
North Atlantic University Union (NAUN)
Subject
Industrial and Manufacturing Engineering,Environmental Engineering
Reference15 articles.
1. M. G. Cavalcante and J. I. Sales, “The Behavior Driven Development Applied to the Software Quality Test,” 2019, pp. 1–4.
2. M. Fowler, K. Beck, J. Brant, W. Opdyke, and D. Roberts, “Refactoring: Improving the Design of Existing Code Addison-Wesley Professional,” Berkeley, CA, USA, 1999.
3. “Gherkin Reference,” 2019. https://cucumber.io/docs/gherkin/reference/
4. P. K. Garg and M. Jazayeri, “Selected, annotated bibliography on process-centered software engineering environments,” ACM SIGSOFT Software Engineering Notes, vol. 19, no. 2, pp. 18–21, 1994.
5. F. Andre and M.-T. Segarra, “A generic approach to satisfy adaptability needs in mobile environments,” 2000, pp. 10-pp.