Automated Test Generation for Medical RulesWeb Services: A Case Study at the Cancer Registry of Norway

被引:2
|
作者
Laaber, Christoph [1 ]
Yue, Tao [1 ]
Ali, Shaukat [1 ,2 ]
Schwitalla, Thomas [3 ]
Nygard, Jan F. [3 ,4 ]
机构
[1] Simula Res Lab, Oslo, Norway
[2] Oslo Metropolitan Univ, Oslo, Norway
[3] Canc Registry Norway, Oslo, Norway
[4] UiT Arctic Univ Norway, Tromso, Norway
关键词
automated software testing; test generation; REST APIs; cancer registry; electronic health records; rule engine; OCL CONSTRAINTS;
D O I
10.1145/3611643.3613882
中图分类号
TP31 [计算机软件];
学科分类号
081202 ; 0835 ;
摘要
The Cancer Registry of Norway (CRN) collects, curates, and manages data related to cancer patients in Norway, supported by an interactive, human-in-the-loop, socio-technical decision support software system. Automated software testing of this software system is inevitable; however, currently, it is limited in CRN's practice. To this end, we present an industrial case study to evaluate an AI-based system-level testing tool, i.e., EvoMaster, in terms of its effectiveness in testing CRN's software system. In particular, we focus on GURI, CRN's medical rule engine, which is a key component at the CRN. We test GURI with EvoMaster's black-box and white-box tools and study their test effectiveness regarding code coverage, errors found, and domain-specific rule coverage. The results show that all EvoMaster tools achieve a similar code coverage; i.e., around 19% line, 13% branch, and 20% method; and find a similar number of errors; i.e., 1 in GURI's code. Concerning domain-specific coverage, EvoMaster's black-box tool is the most effective in generating tests that lead to applied rules; i.e., 100% of the aggregation rules and between 12.86% and 25.81% of the validation rules; and to diverse rule execution results; i.e., 86.84% to 89.95% of the aggregation rules and 0.93% to 1.72% of the validation rules pass, and 1.70% to 3.12% of the aggregation rules and 1.58% to 3.74% of the validation rules fail. We further observe that the results are consistent across 10 versions of the rules. Based on these results, we recommend using EvoMaster's black-box tool to test GURI since it provides good results and advances the current state of practice at the CRN. Nonetheless, EvoMaster needs to be extended to employ domain-specific optimization objectives to improve test effectiveness further. Finally, we conclude with lessons learned and potential research directions, which we believe are applicable in a general context.
引用
收藏
页码:1937 / 1948
页数:12
相关论文
共 50 条
  • [31] Automated Regression Test Case Generation for Web Application: A Survey
    Gupta, Nishant
    Yadav, Vibhash
    Singh, Mayank
    ACM COMPUTING SURVEYS, 2018, 51 (04)
  • [32] An orchestrated survey of methodologies for automated software test case generation
    Anand, Saswat
    Burke, Edmund K.
    Chen, Tsong Yueh
    Clark, John
    Cohen, Myra B.
    Grieskamp, Wolfgang
    Harman, Mark
    Harrold, Mary Jean
    McMinn, Phil
    Bertolino, Antonia
    Li, J. Jenny
    Zhu, Hong
    JOURNAL OF SYSTEMS AND SOFTWARE, 2013, 86 (08) : 1978 - 2001
  • [33] A Survey on Prospects of Automated Software Test Case Generation Methods
    Vishawjyoti
    Gandhi, Parul
    PROCEEDINGS OF THE 10TH INDIACOM - 2016 3RD INTERNATIONAL CONFERENCE ON COMPUTING FOR SUSTAINABLE GLOBAL DEVELOPMENT, 2016, : 3867 - 3871
  • [34] WISE: Automated Test Generation for Worst-Case Complexity
    Burnim, Jacob
    Juvekar, Sudeep
    Sen, Koushik
    2009 31ST INTERNATIONAL CONFERENCE ON SOFTWARE ENGINEERING, PROCEEDINGS, 2009, : 463 - 473
  • [35] Automated generation of environmental reports - A case study
    Gómez, Jorge Marx
    International Journal of Environment and Sustainable Development, 2004, 3 (01) : 65 - 75
  • [36] Automated Test Case Generation from Use Case: A Model Based Approach
    Chen, Lizhe
    Li, Qiang
    PROCEEDINGS 2010 3RD IEEE INTERNATIONAL CONFERENCE ON COMPUTER SCIENCE AND INFORMATION TECHNOLOGY, (ICCSIT 2010), VOL 1, 2010, : 372 - 377
  • [37] Automatic Timed Test Case Generation for Web Services Composition
    Lallali, Mounir
    Zaidi, Fatiha
    Cavalli, Ana
    Hwang, Iksoon
    PROCEEDINGS OF THE SIXTH IEEE EUROPEAN CONFERENCE ON WEB SERVICES, 2008, : 53 - +
  • [38] Swiss cheese test case generation for web services testing
    Tsai, WT
    Wei, X
    Chen, YN
    Paul, R
    Xiao, BM
    IEICE TRANSACTIONS ON INFORMATION AND SYSTEMS, 2005, E88D (12): : 2691 - 2698
  • [39] Automated Valuation Services: A case study for Aberdeen in Scotland
    Schulz, Rainer
    Wersing, Martin
    JOURNAL OF PROPERTY RESEARCH, 2021, 38 (02) : 154 - 172
  • [40] Can This Fault Be Detected by Automated Test Generation: A Preliminary Study
    Cheng, Hangyuan
    Ma, Ping
    Zhang, Jingxuan
    Xuan, Jifeng
    PROCEEDINGS OF THE 2020 IEEE 2ND INTERNATIONAL WORKSHOP ON INTELLIGENT BUG FIXING (IBF '20), 2020, : 9 - 17