Testing Chatbots Using Metamorphic Relations

被引:15
|
作者
Bozic, Josip [1 ]
Wotawa, Franz [1 ]
机构
[1] Graz Univ Technol, Inst Software Technol, A-8010 Graz, Austria
来源
关键词
Metamorphic testing; Functional testing; Chatbots;
D O I
10.1007/978-3-030-31280-0_3
中图分类号
TP31 [计算机软件];
学科分类号
081202 ; 0835 ;
摘要
Modern-day demands for services often require an availability on a 24/7 basis as well as online accessibility around the globe. For this sake, personalized software systems, called chatbots, are applied. Chatbots offer services, goods or information in natural language. These programs respond to the user in real-time and offer an intuitive and simple interface to interact with. Advantages like these makes them increasingly popular. Chatbots can even act as substitutes for humans for specific purposes. Since the chatbot market is growing, chatbots might outperform and replace classical web applications in the future. For this reason, ensuring correct functionality of chatbots is of high and increasing importance. However, since different implementations and user behavior result in unpredictable results, the chatbot's output is difficult to predict and classify as well. In fact, testing of chatbots represents a challenge because of the unavailability of a test oracle. In this paper, we introduce a metamorphic testing approach for chatbots. In general, metamorphic testing can be applied to situations where no expected values are available. In addition, we discuss how to obtain test cases for chatbots, i.e. sequences of interactions with a chatbot, in an according manner. We demonstrate our approach using a hotel booking system and discuss first experimental results.
引用
收藏
页码:41 / 55
页数:15
相关论文
共 50 条
  • [1] Ontology-based metamorphic testing for chatbots
    Bozic, Josip
    [J]. SOFTWARE QUALITY JOURNAL, 2022, 30 (01) : 227 - 251
  • [2] Ontology-based metamorphic testing for chatbots
    Josip Božić
    [J]. Software Quality Journal, 2022, 30 : 227 - 251
  • [3] An Approach to Testing Banking Software Using Metamorphic Relations
    Rahman, Karishma
    Izurieta, Clemente
    [J]. 2023 IEEE 24TH INTERNATIONAL CONFERENCE ON INFORMATION REUSE AND INTEGRATION FOR DATA SCIENCE, IRI, 2023, : 173 - 178
  • [4] Testing acoustic scene classifiers using Metamorphic Relations
    Moreira, Diogo
    Furtado, Ana Paula
    Nogueira, Sidney
    [J]. 2020 IEEE INTERNATIONAL CONFERENCE ON ARTIFICIAL INTELLIGENCE TESTING (AITEST), 2020, : 47 - 54
  • [5] Enhance Combinatorial Testing With Metamorphic Relations
    Niu, Xintao
    Sun, Yanjie
    Wu, Huayao
    Li, Gang
    Nie, Changhai
    Yu, Lei
    Wang, Xiaoyin
    [J]. IEEE TRANSACTIONS ON SOFTWARE ENGINEERING, 2022, 48 (12) : 5007 - 5029
  • [6] An Automated Metamorphic Testing Technique for Designing Effective Metamorphic Relations
    Gagandeep
    Singh, Gurdeepak
    [J]. CONTEMPORARY COMPUTING, 2012, 306 : 152 - +
  • [7] Measuring Effectiveness of Metamorphic Relations for Image Processing Using Mutation Testing
    Jafari, Fakeeha
    Nadeem, Aamer
    [J]. JOURNAL OF IMAGING, 2024, 10 (04)
  • [8] Hierarchical Metamorphic Relations for Testing Scientific Software
    Lin, Xuanyi
    Simon, Michelle
    Niu, Nan
    [J]. 2018 IEEE/ACM 13TH INTERNATIONAL WORKSHOP ON SOFTWARE ENGINEERING FOR SCIENCE (SE4SCIENCE), 2018, : 1 - 8
  • [9] Automated Metamorphic Testing using Transitive Relations for Specializing Stance Detection Models
    Arno, Alisa
    Iwama, Futoshi
    Takeuchi, Mikio
    [J]. 2023 IEEE/ACM 45TH INTERNATIONAL CONFERENCE ON SOFTWARE ENGINEERING: SOFTWARE ENGINEERING IN PRACTICE, ICSE-SEIP, 2023, : 467 - 470
  • [10] Predicting metamorphic relations for testing scientific software: a machine learning approach using graph kernels
    Kanewala, Upulee
    Bieman, James M.
    Ben-Hur, Asa
    [J]. SOFTWARE TESTING VERIFICATION & RELIABILITY, 2016, 26 (03): : 245 - 269