Sign inSubmit
computersciencejournal.org is not ours. This journal is published only at thescipub.com/jcs. Report a suspicious emailcomputersciencejournal.org is not ours · Report
ArticleMetrics
Research Article · Open access · Published 1 May 2025

Intelligent Software Testing for Test Case Analysis Framework Using ChatGPT with Natural Language Processing and Deep Learning Integration

Alaa Najmi1 & Mohamed El-Dosuky1,2

Journal of Computer Science, Volume 21, Issue 5, pp. 1140–1155 · doi.org/10.3844/jcssp.2025.1140.1155

97,719 accesses2,878 downloads2 citations (Crossref)Metrics
Cite Check for updates

Abstract

Effective testing scenarios are necessary to guarantee the dependability and Caliber of software. Conventional techniques for creating these scenarios frequently involve a great deal of manual labor and might not fully cover all software requirements. In order to improve the automation and Caliber of software testing scenario development, this study investigates the combination of Natural Language Processing (NLP) and Deep Learning (DL) approaches with ChatGPT, an advanced language model by OpenAI. The suggested method automatically creates a variety of thorough test cases by utilizing ChatGPT's sophisticated natural language processing capabilities. To evaluate the model's capacity to comprehend intricate software requirements and generate pertinent situations, a comparison between conventional scenario-generation techniques and those improved by ChatGPT is carried out. The process is divided into four stages: Requirement parsing, in which natural language software requirements are analyzed and interpreted using NLP models; scenario generation, in which a transformer-based model is used to generate testing scenarios that are logical and appropriate for the environment. an automation pipeline that uses Hugging Face Transformers and Python to speed up the scenario generating process and evaluation metrics that evaluate the created scenarios according to requirement coverage and relevance coherence. The effectiveness of this method is illustrated through a case study on evaluating an Optical Character Recognition (OCR) system for private documents. The results show that integrating ChatGPT with NLP and DL greatly enhances the depth of testing scenarios, speeds up the generation process, and lowers manual labor. The potential of ChatGPT to automate and optimize software testing is demonstrated in this study, providing a more effective and flexible solution for a variety of testing scenarios.

Licence and reuse

Open access. This article is licensed under a Creative Commons Attribution 4.0 International Licence (CC BY 4.0), as printed on the article, which permits use, sharing, adaptation, distribution and reproduction in any medium or format, as long as you give appropriate credit to the original authors and the source. No permission is needed.

How to reuse this article

Responses (0)

Have a comment on this research? Sign in to respond. Responses are moderated and published with your name and affiliation; the authors are invited to reply. How we use your dataWrite a response

About this article

Cite this article

Najmi, A. & El-Dosuky, M. (2025). Intelligent Software Testing for Test Case Analysis Framework Using ChatGPT with Natural Language Processing and Deep Learning Integration. Journal of Computer Science, 21(5), 1140–1155. https://doi.org/10.3844/jcssp.2025.1140.1155

Licence
CC BY 4.0
Issue
Volume 21, Issue 5
Policies
Editorial independenceUse of generative AIData availabilityAppeals and complaints
Version
Version of record
Intelligent Software Testing for Test Case Analysis Framework Using ChatGPT with Natural Language Processing and Deep Learning IntegrationJournal of Computer Science · Volume 21, Issue 5 · pp. 1140–1155 · CC BY 4.0Download