How to Ensure Testing Robustness in Microservice Architectures and Cope with Test Smells

Authors

  • Mesut Durukal  IOT DS EU TR PLT, Siemens AS, Istanbul, Turkey

DOI:

https://doi.org//10.32628/CSEIT195425

Keywords:

Cloud Services, API Testing, Test Automation; Robustness; Test Smells; Asynchronous Microservices.

Abstract

This paper presents the most common test smells and prevention methods against them in test automation frameworks which are used to test microservice architectures. In this scope; the necessity for test automation is discussed, and the most probable test smells in a test automation framework are listed. Finally, applied solutions to handle them are told and advantages are analyzed by investigating the results.

References

  1. R. Warburton, "Introduction to Testing in Java," Pluralsight.
  2. M. Amaral, J. Polo, D. Carrera, I. Mohomed, M. Unuvar and M. Steinder, "Performance Evaluation of Microservices Architectures Using Containers," 2015 IEEE 14th International Symposium on Network Computing and Applications, Cambridge, MA, 2015, pp. 27-34, doi: 10.1109/NCA.2015.49.
  3. Microservice Monitoring. OnlineAvailable from: https://www.appdynamics.com/solutions/microservices/ 2019.07.10
  4. What is the cost of a bug? OnlineAvailable from: https://azevedorafaela.com/2018/04/27/what-is-the-cost-of-a-bug/ 2019.07.11
  5. G. Bavota, A. Qusef, R. Oliveto, et al. "Are test smells really harmful? An empirical study," Empirical Software Engineering, 2015, 20: pp. 1052-1094, doi: 10.1007/s10664-014-9313-0.
  6. G. Bavota, A. Qusef, R. Oliveto, A. De Lucia and D. Binkley, "An empirical analysis of the distribution of unit test smells and their impact on software maintenance," 2012 28th IEEE International Conference on Software Maintenance (ICSM), Trento, 2012, pp. 56-65, doi: 10.1109/ICSM.2012.6405253.
  7. A. Vahabzadeh, A. M. Fard and A. Mesbah, "An empirical study of bugs in test code," 2015 IEEE International Conference on Software Maintenance and Evolution (ICSME), Bremen, 2015, pp. 101-110, doi: 10.1109/ICSM.2015.7332456
  8. Analysis shows pilots often ignore Boeing 737 cockpit alarm OnlineAvailable from: https://www.travelweekly.com/Travel-News/Airline-News/Analysis-shows-pilots-often-ignore-Boeing-737-cockpit-alarm/ 2019.07.10
  9. V. Garousi, B. Küçük, Barış, "Smells in software test code: A survey of knowledge in industry and academia." Journal of Systems and Software, 2018, 138, pp. 52-81, doi: 10.1016/j.jss.2017.12.013.
  10. Flaky Tests at Google and How We Mitigate Them. OnlineAvailable from: https://testing.googleblog.com/2016/05/flaky-tests-at-google-and-how-we.html/ 2019.07.10
  11. F. Palomba and A. Zaidman, "Does Refactoring of Test Smells Induce Fixing Flaky Tests?," 2017 IEEE International Conference on Software Maintenance and Evolution (ICSME), Shanghai, 2017, pp. 1-12. doi: 10.1109/ICSME.2017.12
  12. M. Grechanik, Q. Xie, and C. Fu, ʺMaintaining and evolving GUI-directed test scripts,ʺ Proceedings of the 31st International Conference on Software Engineering, 2009, pp. 408-418.

Downloads

Published

2019-08-30

Issue

Section

Research Articles

How to Cite

[1]
Mesut Durukal, " How to Ensure Testing Robustness in Microservice Architectures and Cope with Test Smells, IInternational Journal of Scientific Research in Computer Science, Engineering and Information Technology(IJSRCSEIT), ISSN : 2456-3307, Volume 5, Issue 4, pp.167-175, July-August-2019. Available at doi : https://doi.org/10.32628/CSEIT195425