Accelerating Software Quality: Unleashing the Power of Generative AI for Automated Test-Case Generation and Bug Identification
Yatin Bajaj,Manoj Kumar Samal
DOI: https://doi.org/10.22214/ijraset.2023.54628
2023-07-31
International Journal for Research in Applied Science and Engineering Technology
Abstract:Abstract: This paper explores the benefits, challenges, and real-world applications of automated test-case generation and bug identification using generative artificial intelligence (AI). In today's software development and testing landscape, ensuring code quality and minimizing bugs are crucial. However, manual testing methods can be time-consuming and error-prone. Generative AI algorithms, such as generative models, can automatically generate test cases based on inputs, specifications, or system behavior. These algorithms employ machine learning techniques to analyze codebases, uncover test scenarios, and produce comprehensive test cases with broad coverage. The advantages of automated test-case generation include amplified test coverage, supercharged efficiency and time savings, and seamless scalability. Generative AI models also excel in bug identification by scrutinizing codebases, execution traces, and test results. They can detect coding mistakes and identify anomalous patterns indicating potential bugs, memory leaks, or security vulnerabilities. However, challenges such as data quality and bias, domain specificity, and the need for human expertise must be addressed. Real-world applications of automated test-case generation and bug identification using generative AI include software development and security testing. By leveraging generative AI, organizations can enhance test coverage, improve efficiency, and ensure the quality of software products. To successfully implement this approach, challenges related to data quality, domain specificity, and human expertise must be navigated. Generative AI has the potential to revolutionize software testing and contribute to the development of robust and reliable systems in the complex digital landscape.