A Testability Transformation Approach for State-Based Programs

被引:4
|
作者
Kalaji, AbdulSalam [1 ]
Hierons, Robert M. [1 ]
Swift, Stephen [1 ]
机构
[1] Brunel Univ, Sch Informat Syst Math & Comp, Uxbridge UB8 3PH, Middx, England
关键词
D O I
10.1109/SSBSE.2009.14
中图分类号
TP31 [计算机软件];
学科分类号
081202 ; 0835 ;
摘要
Search based testing approaches are efficient in test data generation; however they are likely to perform poorly when applied to programs with state variables. The problem arises when the target function includes guards that reference some of the program state variables whose values depend on previous function calls. Thus, merely considering the target function to derive test data is not sufficient. This paper introduces a testability transformation approach based on the analysis of control and data flow dependencies to bypass the state variable problem. It achieves this by eliminating state variables from guards and/ or determining which Junctions to call in order to satisfy guards with state variables. A number of experiments demonstrate the value of the proposed approach.
引用
收藏
页码:85 / 88
页数:4
相关论文
共 50 条
  • [1] A STATE-BASED APPROACH TO THE TESTING OF CLASS-BASED PROGRAMS
    TURNER, CD
    ROBSON, DJ
    SOFTWARE-CONCEPTS AND TOOLS, 1995, 16 (03): : 106 - 112
  • [2] Verification Approach for Refactoring Transformation Rules of State-Based Models
    Almasri, Nada
    Korel, Bogdan
    Tahat, Luay
    IEEE TRANSACTIONS ON SOFTWARE ENGINEERING, 2022, 48 (10) : 3833 - 3861
  • [3] Evolutionary testing of state-based programs
    McMinn, Phil
    Holcombe, Mike
    GECCO 2005: GENETIC AND EVOLUTIONARY COMPUTATION CONFERENCE, VOLS 1 AND 2, 2005, : 1013 - 1020
  • [4] Evolutionary Testing of Unstructured Programs Using a Testability Transformation Approach
    Jiang, Sheng
    Lu, Yansheng
    FCST: 2008 JAPAN-CHINA JOINT WORKSHOP ON FRONTIER OF COMPUTER SCIENCE AND TECHNOLOGY, PROCEEDINGS, 2008, : 59 - 66
  • [5] The Evolution of State-Based Dental Sealant Programs in Oregon Within the Context of the State Health Care Transformation Process
    Johnson, Laurie L.
    Schwarz, Eli
    Rosenberg, Kenneth D.
    JOURNAL OF PUBLIC HEALTH MANAGEMENT AND PRACTICE, 2020, 26 (05): : 461 - 470
  • [6] A STATE-BASED APPROACH TO COMMUNICATING PROCESSES
    JOSEPHS, MB
    DISTRIBUTED COMPUTING, 1988, 3 (01) : 9 - 18
  • [7] Descriptive methods for evaluation of state-based intervention programs
    Davis, WW
    Graubard, BI
    Hartman, AM
    Stillman, FA
    EVALUATION REVIEW, 2003, 27 (05) : 506 - 534
  • [8] A New Testability Transformation Method for Programs with Assertions
    Alakeel, Ali M.
    INTERNATIONAL JOURNAL OF COMPUTER SCIENCE AND NETWORK SECURITY, 2016, 16 (07): : 137 - 141
  • [9] State-based approach to information flow analysis
    School of Information Security Engineering, Shanghai Jiaotong University, Shanghai 200240, China
    Jisuanji Xuebao, 2006, 8 (1460-1467):
  • [10] A state-based approach to the representation and recognition of gesture
    Bobick, AF
    Wilson, AD
    IEEE TRANSACTIONS ON PATTERN ANALYSIS AND MACHINE INTELLIGENCE, 1997, 19 (12) : 1325 - 1337