Leveraging Generative AI for Automated Test Case Generation: A Framework for Enhanced Coverage and Defect Detection

Authors

  • Prathyusha Nama
  • Purushotham Reddy
  • Guru Prasad Selvarajan

Keywords:

Generative AI, automated test case generation, software testing, defect detection, machine learning, human-in-the-loop, test coverage

Abstract

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)

Ahuja, Ashutosh. (2024). OPTIMIZING PREDICTIVE MAINTENANCE WITH MACHINE LEARNING AND IOT: A BUSINESS STRATEGY FOR REDUCING DOWNTIME AND OPERATIONAL COSTS. 10.13140/RG.2.2.15574.46400.

Al Bashar, M., Taher, A., & Johura, F. T. (2019). QUALITY CONTROL AND PROCESS IMPROVEMENT IN MODERN PAINT INDUSTRY.

Al Bashar, M., Taher, M. A., Islam, M. K., & Ahmed, H. (2024). The Impact Of Advanced Robotics And Automation On Supply Chain Efficiency In Industrial Manufacturing: A Comparative Analysis Between The Us And Bangladesh. Global Mainstream Journal of Business, Economics, Development & Project Management, 3(03), 28-41.

Ahmed, H., Al Bashar, M., Taher, M. A., & Rahman, M. A. (2024). Innovative Approaches To Sustainable Supply Chain Management In The Manufacturing Industry: A Systematic Literature Review. Global Mainstream Journal of Innovation, Engineering & Emerging Technology, 3(02), 01-13.

Vaithianathan, M. (2024). Real-Time Object Detection and Recognition in FPGA-Based Autonomous Driving Systems. International Journal of Computer Trends and Technology, 72(4), 145-152.

Vaithianathan, M., Patil, M., Ng, S. F., & Udkar, S. (2023). Comparative Study of FPGA and GPU for High-Performance Computing and AI. ESP International Journal of Advancements in Computational Technology (ESP-IJACT), 1(1), 37-46.

Vaithianathan, M., Patil, M., Ng, S. F., & Udkar, S. (2024). Integrating AI and Machine Learning with UVM in Semiconductor Design. ESP International Journal of Advancements in Computational Technology (ESP-IJACT) Volume, 2, 37-51.

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.

Published

30-09-2023

How to Cite

Prathyusha Nama, Purushotham Reddy, & Guru Prasad Selvarajan. (2023). Leveraging Generative AI for Automated Test Case Generation: A Framework for Enhanced Coverage and Defect Detection. Well Testing Journal, 32(2), 74–91. Retrieved from https://welltestingjournal.com/index.php/WT/article/view/110

Issue

Section

Research Articles

Similar Articles

1 2 3 4 5 6 7 8 > >> 

You may also start an advanced similarity search for this article.