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 条
  • [21] Automated Test Case Generation based on Coverage Analysis
    Majchrzak, Tim A.
    Kuchen, Herbert
    THIRD INTERNATIONAL SYMPOSIUM ON THEORETICAL ASPECTS OF SOFTWARE ENGINEERING, PROCEEDINGS, 2009, : 259 - 266
  • [22] High prostate cancer mortality in Norway evaluated by automated classification of medical entities
    Hernes, Eivor
    Johansson, Lars A.
    Fossa, Sophie D.
    Pedersen, Anne G.
    Glattre, Eystein
    EUROPEAN JOURNAL OF CANCER PREVENTION, 2008, 17 (04) : 331 - 335
  • [23] A3Test: Assertion-Augmented Automated Test case generation
    Alagarsamy, Saranya
    Tantithamthavorn, Chakkrit
    Aleti, Aldeida
    INFORMATION AND SOFTWARE TECHNOLOGY, 2024, 176
  • [24] An empirical study of automated unit test generation for Python
    Stephan Lukasczyk
    Florian Kroiß
    Gordon Fraser
    Empirical Software Engineering, 2023, 28
  • [25] Automated test case generation for the stress testing of multimedia systems
    Zhang, J
    Cheung, SC
    SOFTWARE-PRACTICE & EXPERIENCE, 2002, 32 (15): : 1411 - 1435
  • [26] Hierarchical GUI test case generation using automated planning
    Memon, AM
    Pollack, ME
    Soffa, ML
    IEEE TRANSACTIONS ON SOFTWARE ENGINEERING, 2001, 27 (02) : 144 - 155
  • [27] An Ontology-Based Approach to Automated Test Case Generation
    Banerjee S.
    Debnath N.C.
    Sarkar A.
    SN Computer Science, 2021, 2 (1)
  • [28] Combining behavior and data modeling in automated test case generation
    Schroeder, PJ
    Kim, E
    Arshem, J
    Bolaki, P
    THIRD INTERNATIONAL CONFERENCE ON QUALITY SOFTWARE, PROCEEDINGS, 2003, : 247 - 254
  • [29] Automated Test Case Generation for Programmable Logic Controller Code
    Suresh, Varsha P.
    Chakrabarti, Sujit
    Jetley, Raoul
    PROCEEDINGS OF THE 12TH INNOVATIONS ON SOFTWARE ENGINEERING CONFERENCE (ISEC), 2019,
  • [30] A practical approach for automated test case generation using statecharts
    Santiago, Valdivino
    Martins do Amaral, Ana Silvia
    Vijaykumar, N. L.
    de Fatima, Maria
    Mattiello-Francisco
    Martins, Eliane
    Lopes, Odnei Cuesta
    30TH ANNUAL INTERNATIONAL COMPUTER SOFTWARE AND APPLICATIONS CONFERENCE, VOL 2, SHORT PAPERS/WORKSHOPS/FAST ABSTRACTS/DOCTORAL SYMPOSIUM, PROCEEDINGS, 2006, : 183 - +