Parallel Specification-Based Testing for Concurrent Programs

被引:0
|
作者
Minh Do, Canh [1 ]
Ogata, Kazuhiro [1 ]
机构
[1] Japan Adv Inst Sci & Technol JAIST, Sch Informat Sci, Nomi, Ishikawa 9231292, Japan
来源
IEEE ACCESS | 2022年 / 10卷
基金
日本学术振兴会;
关键词
Programming; Testing; Concurrent computing; Protocols; Explosions; !text type='Java']Java[!/text; Codes; Simulation; divide & conquer approach; parallel algorithms; concurrent programs; specification-based testing; MODEL CHECKING; VERIFICATION;
D O I
10.1109/ACCESS.2022.3155629
中图分类号
TP [自动化技术、计算机技术];
学科分类号
0812 ;
摘要
The paper proposes a new testing technique for concurrent programs. The technique is a specification-based testing. For a formal specification S and a concurrent program P, state sequences are generated from P and checked to be accepted by S. We suppose that S is specified in Maude and P is implemented in Java. Java Pathfinder (JPF) and Maude are then used to generate state sequences from P and to check if such state sequences are accepted by S, respectively. Even without checking any property violations with JPF, JPF often encounters the notorious state space explosion while only generating state sequences. Thus, we propose a technique to generate state sequences from P and check if such state sequences are accepted by S in a stratified way. A tool is developed to support the proposed technique that can be processed naturally in parallel. Some experiments demonstrate that the proposed technique mitigates the state space explosion, which cannot be achieved with the straightforward use of JPF.
引用
收藏
页码:24955 / 24975
页数:21
相关论文
共 50 条
  • [1] Parallel Specification-Based Testing for Concurrent Programs
    Minh Do, Canh
    Ogata, Kazuhiro
    IEEE Access, 2022, 10 : 24955 - 24975
  • [2] Use of sequencing constraints for specification-based testing of concurrent programs
    Carver, RH
    Tai, KC
    IEEE TRANSACTIONS ON SOFTWARE ENGINEERING, 1998, 24 (06) : 471 - 490
  • [3] Thoroughness of specification-based testing of synchronous programs
    Parissis, I
    Vassy, M
    ISSRE 2003: 14TH INTERNATIONAL SYMPOSIUM ON SOFTWARE RELIABILITY ENGINEERING, PROCEEDINGS, 2003, : 191 - 200
  • [4] TestEra: Specification-Based Testing of Java Programs Using SAT
    Sarfraz Khurshid
    Darko Marinov
    Automated Software Engineering, 2004, 11 (4) : 403 - 434
  • [5] Integrating specification-based review and testing for detecting errors in programs
    Liu, Shaoying
    FORMAL METHODS AND SOFTWARE ENGINEERING, PROCEEDINGS, 2007, 4789 : 136 - 150
  • [6] APPROACHES TO SPECIFICATION-BASED TESTING
    RICHARDSON, DJ
    OMALLEY, O
    TITTLE, C
    PROCEEDINGS OF THE ACM SIGSOFT 89: THIRD SYMPOSIUM ON SOFTWARE TESTING, ANALYSIS, AND VERIFICATION ( TAV 3 ), 1989, 14 : 86 - 96
  • [7] Specification-based testing for refinement
    Kahsai, Temesghen
    Roggenbach, Markus
    Schlingloff, Bernd-Holger
    SEFM 2007: FIFTH IEEE INTERNATIONAL CONFERENCE ON SOFTWARE ENGINEERING AND FORMAL METHODS, PROCEEDINGS, 2007, : 237 - +
  • [8] A framework for specification-based testing
    Stocks, P
    Carrington, D
    IEEE TRANSACTIONS ON SOFTWARE ENGINEERING, 1996, 22 (11) : 777 - 793
  • [9] A SPECIFICATION-BASED FUNCTIONAL TESTING METHOD FOR JS']JSP DESIGNED PROGRAMS
    ROPER, RMF
    SMITH, P
    INFORMATION AND SOFTWARE TECHNOLOGY, 1988, 30 (02) : 89 - 98
  • [10] Towards specification-based web testing
    Chen, J
    Chovanec, S
    WEB ENGINEERING AND PEER TO PEER COMPUTING, 2002, 2376 : 165 - 171