A METHOD FOR AUTOMATIC TEST GENERATION USING CHATGPT
DOI:
https://doi.org/10.31891/2219-9365-2024-78-16Keywords:
ChatGPT, test automation, test scenario generation, natural language processing, software quality, artificial intelligence, software developmentAbstract
Test automation is a critical aspect of software development, ensuring high product quality and reducing development time. The use of artificial intelligence, particularly natural language processing models like ChatGPT, opens up new possibilities for automating the process of creating test scenarios, enhancing the efficiency and accuracy of testing. The aim of the article is to develop and evaluate a method for automated test scenario creation using ChatGPT and to demonstrate how the integration of ChatGPT can improve the test generation process, reducing the time and effort required for their development. The research methodology includes developing algorithms for automating the generation of test scenarios using ChatGPT and adapting models to specific testing requirements. It has been shown that using ChatGPT for automated test scenario creation significantly improves the quality of testing, providing higher test coverage and error detection. There is also a reduction in the time required to create tests, contributing to the overall acceleration of the software development cycle.
Research has shown that using ChatGPT to automate the creation of test scenarios significantly increases the efficiency and quality of software testing. Key results include increased test coverage, reduced test development time, and improved defect detection. The ChatGPT method demonstrates high adaptability to changes in code and project requirements, reducing testing costs. To further improve the method, it is recommended to explore new learning algorithms, integration with existing testing tools, application expansion, feedback use, and infrastructure optimization. This will increase the efficiency and reliability of automated testing, ensuring high software quality in conditions of rapid changes and growing requirements.