Automatic Test Case and Test Oracle Generation Based on Functional Scenarios in Formal Specifications for Conformance Testing

被引:13
|
作者
Liu, Shaoying [1 ,2 ]
Nakajima, Shin [3 ]
机构
[1] Hiroshima Univ, Grad Sch Adv Sci & Engn, Higashihiroshima 7398527, Japan
[2] Hiroshima Univ, Sch Informat & Data Sci, Higashihiroshima 7398527, Japan
[3] Natl Inst Informat, Informat & Soc Res, Tokyo 1018430, Japan
关键词
Software; Vibrations; Input variables; Conformance testing; Automatic testing; Information systems; Specification-based testing; black-box testing; functional testing; model-based testing; automatic testing; ALGEBRAIC SPECIFICATIONS; SOFTWARE; VERIFICATION;
D O I
10.1109/TSE.2020.2999884
中图分类号
TP31 [计算机软件];
学科分类号
081202 ; 0835 ;
摘要
Testing a program to confirm whether it consistently implements its requirements specification is a necessary but time-consuming activity in software development. Automatic testing based on specifications can significantly alleviate the workload and cost, but faces a challenge of how to ensure that both the user's concerns in the specification and possible execution paths in the program are all covered. In this paper, we describe a new method, called "Vibration-Method" or simply "V-Method", for automatic generation of test cases and test oracle from model-based formal specifications, aiming to address this challenge. The proposed method is suitable for testing information systems in which rich data types are used. Supporting the principle of "divide and conquer", the method provides a specific technique for generating test cases based on functional scenarios defined in the specification, test case generation criteria, automatic test case generation algorithms, and a well-defined mechanism for deriving test oracle. We elaborate on the method by discussing how initial test cases can be automatically generated, how additional necessary test cases are produced using the "vibration" technique, and how a test oracle can be automatically derived for a group of test cases. We also describe a controlled experiment to evaluate the effectiveness of the method and discuss the important issues in relation to the performance and applicability of the method.
引用
收藏
页码:691 / 712
页数:22
相关论文
共 50 条
  • [1] From Formal Specifications to Efficient Test Scenarios Generation
    Yang, Jing
    Ghazel, Mohamed
    El-Koursi, El-Miloudi
    2013 INTERNATIONAL CONFERENCE ON ADVANCED LOGISTICS AND TRANSPORT (ICALT), 2013, : 35 - 40
  • [2] Formal firewall conformance testing: an application of test and proof techniques
    Brucker, Achim D.
    Bruegger, Lukas
    Wolff, Burkhart
    SOFTWARE TESTING VERIFICATION & RELIABILITY, 2015, 25 (01) : 34 - 71
  • [3] Automatic test case generation from the industrial point of view: Conformance testing in Iskratel
    Frey-Pucko, M
    Kapus-Kolar, M
    Novak, R
    TESTING OF COMMUNICATING SYSTEMS: METHODS AND APPLICATIONS, 1999, 21 : 347 - 362
  • [4] ON THE DEVELOPMENT OF A STANDARD FOR CONFORMANCE TESTING BASED ON FORMAL SPECIFICATIONS
    HOGREFE, D
    COMPUTER STANDARDS & INTERFACES, 1992, 14 (03) : 185 - 190
  • [5] Mobile agent-based regression test case generation using model and formal specifications
    Arora, Pardeep Kumar
    Bhatia, Rajesh
    IET SOFTWARE, 2018, 12 (01) : 30 - 40
  • [6] Test generation games from formal specifications
    Banerjee, Ansuman
    Pal, Bhaskar
    Das, Sayantan
    Kumar, Abhijeet
    Dasgupta, Pallab
    43RD DESIGN AUTOMATION CONFERENCE, PROCEEDINGS 2006, 2006, : 827 - +
  • [7] Generation of functional test sequences from B formal specifications - Presentation and industrial case-study
    Legeard, B
    Peureux, F
    16TH ANNUAL INTERNATIONAL CONFERENCE ON AUTOMATED SOFTWARE ENGINEERING (ASE 2001), PROCEEDINGS, 2001, : 377 - 381
  • [8] A Tool to Support Vibration Testing Method for Automatic Test Case Generation and Test Result Analysis
    Saiki, Kenya
    Liu, Shaoying
    Okamura, Hiroyuki
    Dohi, Tadashi
    2021 IEEE 21ST INTERNATIONAL CONFERENCE ON SOFTWARE QUALITY, RELIABILITY AND SECURITY (QRS 2021), 2021, : 149 - 156
  • [9] New formal test suite specification language for IPv conformance testing
    Zhang, YJ
    Li, ZC
    2003 INTERNATIONAL CONFERENCE ON COMMUNICATION TECHNOLOGY, VOL 1 AND 2, PROCEEDINGS, 2003, : 174 - 177
  • [10] A "Vibration" Method for Automatically Generating Test Cases Based on Formal Specifications
    Liu, Shaoying
    Nakajima, Shin
    2011 18TH ASIA-PACIFIC SOFTWARE ENGINEERING CONFERENCE (APSEC 2011), 2011, : 73 - 80