Leveraging Generative AI for Automated Test Case Generation: A Framework for Enhanced Coverage and Defect Detection
Keywords:
Generative AI, automated test case generation, software testing, defect detection, machine learning, human-in-the-loop, test coverageAbstract
The assertive shift in the Software Development Processes (SDP, henceforth) requires faster and more-flexible testing. Since automated test case generation is a generative modality, the way for extending the test coverage and discovering more defects is different from the traditional one. This article discusses the incorporation of generative AI at various levels of software testing and the importance of AI-based test case design for learning from the defects introduced during code changes. It gives a complete architecture that also provides a human-in-the-loop mechanism, in that the AI algorithms must work about the testers and not generate the results in isolation. In addition to test coverage, defect detection, and execution efficiency, metrics relevant to performance effectiveness are also mentioned. At the same time, the paper discusses issues related to the challenges posed by data, the software to be tested, and, in some cases, the classical black-box AI systems. The outlook for developing testing systems based on artificial intelligence is formulated, emphasizing the explainability of AI systems and continuous changes in the processes within the agile environment. These comments are meant to help organizations leverage AI to make better software.
References
González, M., & Reyes, R. (2023). "Automated Test Generation Using Generative AI Techniques: A Systematic Review." Journal of Software Engineering and Applications, 16(3), 45-61.
Miller, J. (2022). "Exploring AI-Driven Testing in Agile Environments." IEEE Software, 39(4), 45-53.
Sharma, R., & Lee, S. (2022). "A Comprehensive Framework for Test Automation Using Machine Learning." International Journal of Software Engineering and Knowledge Engineering, 32(2), 217-239.
Zhang, Y., & Wang, T. (2021). "Using Generative Adversarial Networks for Test Case Generation." ACM Transactions on Software Engineering and Methodology, 30(3), 15.
Bai, Y., & Jiang, X. (2021). "An AI-Enhanced Approach to Test Case Prioritization." Software Testing, Verification & Reliability, 31(6), e2270.
Chen, L., & Gao, H. (2021). "Machine Learning Techniques for Automated Software Testing: A Survey." Journal of Systems and Software, 174, 110886.
Santos, M., & Ferreira, P. (2020). "Leveraging Machine Learning for Test Automation: Challenges and Opportunities." Journal of Software: Evolution and Process, 32(9), e2244.
Fang, H., & Luo, Y. (2020). "AI-Driven Defect Prediction: A Systematic Review." IEEE Transactions on Software Engineering, 46(6), 571-594.
Yin, J., & Zhu, H. (2019). "Test Case Generation from Software Requirements Using Machine Learning." Software Quality Journal, 27(4), 1531-1551.
Papadakis, M., & Pizlo, F. (2018). "Automated Testing Using Deep Learning: A Review." IEEE Transactions on Software Engineering, 44(11), 1105-1126.
Elemam, S. M. (2018). Pragmatic Competence and the Challenge of Speech Expression and Precision (Master's thesis, University of Dayton).
Kothandapani, H. P. (2020). Application of machine learning for predicting us bank deposit growth: A univariate and multivariate analysis of temporal dependencies and macroeconomic interrelationships. Journal of Empirical Social Science Studies, 4(1), 1-20.
Kothandapani, H. P. (2019). Drivers and barriers of adopting interactive dashboard reporting in the finance sector: an empirical investigation. Reviews of Contemporary Business Analytics, 2(1), 45-70.
Kothandapani, H. P. (2021). A benchmarking and comparative analysis of python libraries for data cleaning: Evaluating accuracy, processing efficiency, and usability across diverse datasets. Eigenpub Review of Science and Technology, 5(1), 16-33.
Rahman, M.A., Butcher, C. & Chen, Z. Void evolution and coalescence in porous ductile materials in simple shear. Int J Fracture, 177, 129–139 (2012). https://doi.org/10.1007/s10704-012-9759-2
Rahman, M. A. (2012). Influence of simple shear and void clustering on void coalescence. University of New Brunswick, NB, Canada. https://unbscholar.lib.unb.ca/items/659cc6b8-bee6-4c20-a801-1d854e67ec48
Alam, H., & De, A., & Mishra, L. N. (2015). Spring, Hibernate, Data Modeling, REST and TDD: Agile Java design and development (Vol. 1)
Al Bashar, M., Taher, A., & Johura, F. T. (2019). QUALITY CONTROL AND PROCESS IMPROVEMENT IN MODERN PAINT INDUSTRY.
Zhu, Y. (2023). Beyond Labels: A Comprehensive Review of Self-Supervised Learning and
Intrinsic Data Properties. Journal of Science & Technology, 4(4), 65-84.
Y. Pei, Y. Liu and N. Ling, "MobileViT-GAN: A Generative Model for Low Bitrate Image Coding," 2023 IEEE International Conference on Visual Communications and Image Processing (VCIP), Jeju, Korea, Republic of, 2023, pp. 1-5, doi: 10.1109/VCIP59821.2023.10402793.
Y. Pei, Y. Liu, N. Ling, Y. Ren and L. Liu, "An End-to-End Deep Generative Network for Low Bitrate Image Coding," 2023 IEEE International Symposium on Circuits and Systems (ISCAS), Monterey, CA, USA, 2023, pp. 1-5, doi: 10.1109/ISCAS46773.2023.10182028.
Downloads
Published
How to Cite
Issue
Section
License
Copyright (c) 2023 Well Testing Journal
This work is licensed under a Creative Commons Attribution-NonCommercial 4.0 International License.
This license requires that re-users give credit to the creator. It allows re-users to distribute, remix, adapt, and build upon the material in any medium or format, for noncommercial purposes only.