AUTOMATIC GENERATION OF TEST CASES BASED ON MODELS OF SYSTEM BEHAVIOR USING ARTIFICIAL INTELLIGENCE TO IMPROVE THE QUALITY OF SOFTWARE PRODUCTS
DOI:
https://doi.org/10.31471/1993-9965-2024-2(57)-78-85Keywords:
system behaviour models, test cases, test automation, graphs, test scenario generation, code coverageAbstract
At various phases of its life cycle, efficient software testing can drastically lower costs and increase the quality of the program. In order to increase the functionality, quality, and dependability of software products, this study investigates the potential for automating the creation of test cases based on system behavior models through the use of artificial intelligence (AI) techniques. The paper looks at important methods for simulating system behavior, such as finite state machines, state diagrams, and transition diagrams, which form the basis for developing test scenarios. The principles of automatic test case generation using machine learning algorithms, neural networks, and heuristic methods are analyzed in detail. A comprehensive approach to test coverage optimization is proposed, allowing for the reduction of redundant tests while improving testing efficiency by adapting scenarios to software changes. Special attention is given to evaluating the effectiveness of the proposed approaches through empirical studies and comparative analysis with traditional testing methods. The research results confirm that AI-based methods significantly reduce test development time, improve defect detection, and ensure deeper code coverage, which is critically important for modern complex and dynamic software systems. The practical significance of this study lies in the potential implementation of the proposed methods in real-world projects to enhance software quality and security while reducing testing and maintenance costs.
Downloads
References
Ajorloo S., Jamarani A., Kashfi M., Kashani M. H., Najafizadeh A. A systematic review of machine learning methods in software testing. Applied Soft Computing. 2024. Vol. 162. P. 358. https://doi.org/10.1016/j.asoc.2024.111805
Broy M., Jonsson B., Katoen J.-P., Leucker M., Pretschner A. Model-based testing of reactive systems: Advanced lectures. Springer-Verlag. 2005. P. 238. https://link.springer.com/book/10.1007/b137241
Utting M., Legeard B. Practical Model-Based Testing: A Tools Approach. Morgan Kaufmann. 2007. P. 298. https://doi.org/10.1016/B978-0-12-372501-1.X5000-5
Farshchi M., Schneider J-G, Weber I., Grundy J. Metric selection and anomaly detec-tion for cloud operations using log and metric correlation analysis. Journal of Systems and Software, 2018. Vol. 137. P. 531-549 https://doi.org/10.1016/j.jss.2017.03.012
Cornelissen B., Zaidman A., van Deursen A., Moonen L., Koschke R. A System-atic Survey of Program Comprehension through Dynamic Analysis. IEEE Transactions on Software Engineering. 2009. Vol. 35, No. 5, P. 684-702. https://doi.org/10.1109/TSE.2009.28
Alexandre Rafael Lenz, Aurora Pozo, Silvia Regina Vergilio. Linking software testing results with a machine learning approach. Engi-neering Applications of Artificial Intelligence. 2013. Vol. 26. Iss. 5–6. P. 1631-1640. https://doi.org/10.1016/j.engappai.2013.01.008
Beizer B. Software Testing Tech-niques. Dreamtech, 2003. P. 550.
AI and Test Automation: Driving Inno-vation in Software Testing. URL: https://eleks.com/research/ai-test-automation
Software Testing Using AI. URL: https://www.softserveinc.com/en-us/blog/software-testing-using-ai
The Future of Software Quality Assurance. Stephan Goericke Ed. Springer. 2020. 272 p. https://link.springer.com/book/10.1007/978-3-030-29509-7
Downloads
Published
How to Cite
Issue
Section
License
Авторські права....