Skip to main navigation Skip to search Skip to main content

SoapOperaTG: A Tool for System Knowledge Graph Based Soap Opera Test Generation

  • Yanqi Su
  • , Zheming Han
  • , Zhenchang Xing
  • , Xiwei Xu
  • , Liming Zhu
  • , Qinghua Lu

Research output: Chapter in Book/Conference paper › Conference paper › peer-review

Abstract

Exploratory testing is an effective testing approach for the system-level testing from the end user's perspective, which is widely practiced and appreciated in the software industry. Although many concrete principles and guidelines for performing exploratory testing have been proposed, there are no effective tools for automatic generation of exploratory test scenarios (a.k.a soap opera tests). In this paper, we propose a tool named SoapOperaTG for automatic soap opera test generation by leveraging the scenario and oracle knowledge in bug reports. We first construct a system knowledge graph (KG) of user tasks and failures from the preconditions, steps to reproduce (S2Rs), expected behavior (EB) and observed behavior (OB) in bug reports. Then, we create soap opera tests by combining the scenarios of relevant bugs based on the system knowledge graph. SoapOperaTG is implemented as a web tool to present the generated test scenarios. In our user study,5 users find 18 bugs in Mozilla Firefox (a mature, well-maintained software system) in 2 hours using SoapOperaTG, while the control group finds only 5 bugs based on the recommended similar bugs. SoapOperaTG can be found at https://github.com/SuYanqi/SYS-KG. Demo video can be found at https://youtu.be/xcXmY8qGDSc
Original languageEnglish
Title of host publicationProceedings - International Conference on Software Engineering
Place of PublicationUSA
PublisherIEEEE
Pages51-54
Number of pages4
ISBN (Electronic)9798350322637
ISBN (Print)9798350322637
DOIs
Publication statusPublished - 27 Jul 2023
Externally publishedYes
Event2023 IEEE/ACM 45th International Conference on Software Engineering - Melbourne, Australia
Duration: 14 May 2023 → 20 May 2023
https://www.computer.org/csdl/proceedings/icse/2023/1OM4q9x8Mp2

Publication series

NameProceedings - International Conference on Software Engineering
ISSN (Print)0270-5257

Conference

Conference2023 IEEE/ACM 45th International Conference on Software Engineering
Country/TerritoryAustralia
CityMelbourne
Period14/05/23 → 20/05/23
Internet address

Fingerprint

Dive into the research topics of 'SoapOperaTG: A Tool for System Knowledge Graph Based Soap Opera Test Generation'. Together they form a unique fingerprint.

Cite this