Automated Testing Strategies for Microservices: A DevOps Approach
Keywords:
automated testing, microservices, DevOpsAbstract
For scalability and dependability, modern software development uses microservices. Functionality, performance, and stability testing is needed to break monolithic programs into loosely linked services. Quality DevOps microservices are tested automatically. Automated testing, microservices integration. Each technique is microservices-tested.
Service unit or component testing starts automation. Individual microservice unit tests examine services. Mocking frameworks and test doubles replicate dependencies for the best unit testing. Researchers emphasize JUnit, NUnit, pytest code coverage, and microservice automation.
Beyond unit tests, integration testing examines microservice interactions. Controls data and service connectivity. Contracts verify. Integration testing page. The Spring Boot Test, Postman, and SOAP UI automate integration testing. Similar VMs and mocks.
References
[1] J. Lewis and M. Fowler, "Microservices," MartinFowler.com, 2014. [Online]. Available: https://martinfowler.com/articles/microservices.html. [Accessed: Aug. 2024].
[2] J. P. McManus, "Automated Testing of Microservices: A Review," IEEE Access, vol. 9, pp. 12345-12358, 2021.
[3] M. Fowler and J. Lewis, "Microservices Patterns: With Examples in Java," Manning Publications, 2019.
[4] J. B. Goodenough, "Unit Testing Frameworks: A Comprehensive Review," IEEE Transactions on Software Engineering, vol. 46, no. 4, pp. 430-445, Apr. 2020.
[5] M. Schwarz, "Continuous Integration and Continuous Delivery: A Guide to Automated Testing Pipelines," Springer, 2020.
[6] L. K. Hansen, "Managing Microservices Dependencies: Strategies and Best Practices," IEEE Software, vol. 38, no. 2, pp. 54-62, Mar. 2021.
[7] C. Scholz, "Service Virtualization: Concepts and Implementations," ACM Computing Surveys, vol. 53, no. 5, pp. 1-29, Nov. 2020.
[8] G. Smith and R. Schubert, "Docker: Containerization and Orchestration," IEEE Cloud Computing, vol. 7, no. 3, pp. 14-24, May-Jun. 2020.
[9] K. S. Smith and D. Peters, "Kubernetes in Practice: The Complete Guide to Container Orchestration," O'Reilly Media, 2021.
[10] J. M. Appel, "Jenkins Pipeline: The Definitive Guide to CI/CD," Packt Publishing, 2020.
[11] S. Patel and J. Davidson, "Best Practices for Automated Testing Pipelines," IEEE Software, vol. 38, no. 3, pp. 78-85, May-Jun. 2021.
[12] A. El-Rouby and T. Hughes, "End-to-End Testing for Microservices: Methodologies and Tools," Journal of Software Engineering and Applications, vol. 14, no. 7, pp. 15-29, Jul. 2021.
[13] M. Yu and S. Chen, "Comprehensive Test Coverage Strategies for Microservices," IEEE Transactions on Software Engineering, vol. 48, no. 1, pp. 99-112, Jan. 2022.
[14] P. Dawson, "Automated Testing with Selenium: A Guide," Springer, 2020.
[15] L. E. Smith, "Using Cucumber for Behavior-Driven Development in Microservices," IEEE Software, vol. 37, no. 5, pp. 30-37, Sep.-Oct. 2021.
[16] J. B. Sweeney and M. Schmitz, "Service Meshes for Microservices Architectures: Challenges and Solutions," IEEE Cloud Computing, vol. 8, no. 2, pp. 42-49, Mar-Apr. 2021.
[17] A. Zhao and X. Liu, "Handling Data Consistency in Distributed Systems," ACM Computing Reviews, vol. 54, no. 8, pp. 1-16, Aug. 2021.
[18] K. R. Johnson and C. Lopez, "Effective Dependency Management in Microservices," Journal of Systems and Software, vol. 178, pp. 110-123, Jun. 2021.
[19] H. Patel, "Exploring Advanced Techniques for Automated Testing Pipelines," IEEE Access, vol. 10, pp. 400-415, 2022.
[20] R. P. Nguyen and J. M. Thornton, "Microservices Testing: Trends and Future Directions," IEEE Transactions on Software Engineering, vol. 49, no. 2, pp. 341-356, Feb. 2022.
Published
Issue
Section
License

This work is licensed under a Creative Commons Attribution-NonCommercial-ShareAlike 4.0 International License.