一句话:为失败迹语义提出生成最小完备测试套件的方法,通过基本拒绝与枚举去冗余。
本文研究失败迹(拒绝迹)语义下最小完备测试套件的构造问题。由于完备测试套件通常无限,作者考虑将关注的拒绝迹长度限制为 ℓ:若所有含长度不超过 ℓ 的不允许拒绝迹的进程都会使测试套件失败,则该套件完备。方法上,论文提出生成最小完备的禁止拒绝迹集合,识别出基本拒绝(fundamental refusals)及其等价关系,先给出可简单构造的小型测试套件,再用枚举法删除冗余迹,并讨论是否保留均匀完备性(保证最短反例)。该构造还可用于生成进程 P 的特征公式,即满足公式的进程都细化 P,采用带递归的 Hennessy-Milner 逻辑。
We explore the problem of finding a minimal complete test suite for a refusal trace (or failure trace) semantics. Since complete test suites are typically infinite, we consider the setting with a bound ℓ on the length of refusal traces of interest. A test suite T is thus complete if it is failed by all processes that contain a disallowed refusal trace of length at most ℓ.The proposed approach is based on generating a minimal complete set of forbidden refusal traces. Our solution utilises several interesting insights into refusal trace semantics. In particular, we identify a key class of refusals called fundamental refusals which essentially determine the refusal trace semantics, and the associated fundamental equivalence relation. We then propose a small but not necessarily minimal test suite based on our theory, which can be constructed with a simple algorithm. Subsequently, we provide an enumerative method to remove all redundant traces from our complete test suite, which comes in two variants, depending on whether we wish to retain the highly desirable uniform completeness (guarantee of shortest counterexamples).A related problem is the construction of a characteristic formula of a process P, that is, a formula ΦP such that every process which satisfies ΦP refines P. Our test generation algorithm can be used to construct such a formula using a variant of Hennessy-Milner logic with recursion.