Parallel Specification-Based Testing for Concurrent Programs
Parallel Specification-Based Testing for Concurrent Programs
复制标题
并发程序的基于并行规范的测试
DOI:
10.1109/access.2022.3155629
复制
发表时间:
2022
期刊:
影响因子:
3.9
通讯作者:
Ogata Kazuhiro
中科院分区:
文献类型:
--
作者:
Canh Minh Do;Ogata Kazuhiro
The paper proposes a new testing technique for concurrent programs. The technique is a specification-based testing. For a formal specificationSand a concurrent programP, state sequences are generated fromPand checked to be accepted byS. We suppose thatSis specified in Maude andPis implemented in Java. Java Pathfinder (JPF) and Maude are then used to generate state sequences fromPand to check if such state sequences are accepted byS, 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 fromPand check if such state sequences are accepted bySin 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.