Automated Test Case Output Generation Using Seq2Seq Models


Ozer E., AKCAYOL M. A.

13th International Conference on Software and Information Engineering, ICSIE 2024, Derby, İngiltere, 2 - 04 Aralık 2024, ss.46-53, (Tam Metin Bildiri) identifier

  • Yayın Türü: Bildiri / Tam Metin Bildiri
  • Doi Numarası: 10.1145/3708635.3708644
  • Basıldığı Şehir: Derby
  • Basıldığı Ülke: İngiltere
  • Sayfa Sayıları: ss.46-53
  • Anahtar Kelimeler: Automated test generation, machine learning, natural language processing, recurrent neural networks, seq2seq model, software testing, test automation
  • Gazi Üniversitesi Adresli: Evet

Özet

The aim of this paper is to present a creative approach to generate test case outputs for a given input automatically for software testing. Sequence-to-sequence (seq2seq) model is applied. Our approach aims to address the challenge of creating meaningful test case outputs for input variations in software testing, improving efficiency and accuracy in test automation. With the help of natural language processing techniques, the model is trained on an original dataset of test inputs and their corresponding outputs, predicting the output for a given test case input. We employ evaluation metrics including BLEU, ROUGE, and JACCARD similarity scores to assess the quality of generated outputs, comparing them against reference outputs. Our initial results show that the seq2seq model has a huge potential of producing accurate test case outputs, significantly reducing manual effort in test case generation. This work demonstrates the potential for integrating Recurrent Neural Network techniques into software testing and providing a scalable solution for automated test case output generation.