A Divide & Conquer Approach to Testing Concurrent Java Programs with JPF and?Maude
A Divide & Conquer Approach to Testing Concurrent Java Programs with JPF and?Maude
复制标题
鸿沟
DOI:
10.1007/978-3-030-41418-4_4
复制
发表时间:
2020
期刊:
影响因子:
--
通讯作者:
Ogata Kazuhiro
中科院分区:
文献类型:
--
作者:
Minh Do Canh;Ogata Kazuhiro
The paper proposes a new testing technique for concurrent programs. The technique is basically a specification-based testing one. 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. Some experiments demonstrate that the proposed technique mitigates the state space explosion instances from which otherwise only one JPF instance cannot suffice.