一句话:提出 Java 测试预言质量静态分析工具 TORI,可识别断言并计算可扩展的评估度量。
TORI(Test Oracle Inspector)是面向 Java 的静态分析工具,用于评估测试预言(test oracle)的质量。给定待分析测试文件,TORI 通过静态分析识别其中的断言语句,并计算度量以判断这些断言在多大程度上检验了被测系统的行为。工具强调可扩展性,允许用户实现自定义度量以适配不同评估需求。该工作以工具形式呈现,目标是为测试预言质量提供自动化、可定制的检查手段,帮助开发者发现测试中判定能力不足或断言薄弱的问题。
Tori (Test Oracle Inspector) is a static analysis tool for assessing the quality of test oracles in Java. Given a target test file, it uses static analysis to identify assertion statements and compute metrics that evaluate how well the oracles test the behavior of the system under test. Tori is designed to be extensible, allowing users to implement custom metrics for oracle assessment.