一句话:提出轻量级变异测试估计与 test focus 新指标,以评估并驱动生成更高质量的单元测试。
单元测试是防止软件缺陷引入的第一道防线,其质量对构建稳健可靠软件至关重要。实践中组织常用代码覆盖率和变异覆盖率评估测试质量,但这些指标并不总能充分反映测试有效性。该研究计划使变异测试更具可扩展性,设计轻量级方法来估计测试有效性;同时提出衡量测试焦点(test focus)的新指标,作为开发者理解与维护测试所需工作量的代理。该指标既可与代码覆盖率互补地评估测试质量,也可用于驱动自动化测试用例生成,从而生成更高质量的测试。摘要未报告具体实验或结果。
Unit tests form the first defensive line against the introduction of bugs in software systems. Therefore, their quality is of a paramount importance to produce robust and reliable software. To assess test quality, many organizations relies on metrics like code and mutation coverage. However, they are not always optimal to fulfill such a purpose. In my research, I want to make mutation testing scalable by devising a lightweight approach to estimate test effectiveness. Moreover, I plan to introduce a new metric measuring test focus—as a proxy for the effort needed by developers to understand and maintain a test— that both complements code coverage to assess test quality and can be used to drive automated test case generation of higher quality tests.