paperbot · PL 论文追踪

全部论文 待读 收藏

P2 OCELOT: a search-based test-data generation tool for C

OCELOT:面向 C 语言的基于搜索的测试数据生成工具
ASE Proceedings of the 33rd ACM/IEEE International Conference on Automated Software Engineering2018匹配度 1/10 · 该论文是关于 C 语言测试数据自动生成的搜索型工具,属于软件测试与开发者工具方向,与用户关注的静态分析、LLM/Agent 增强程序分析、浮点程序分析和贝叶斯程序分析均无直接交集。引用 16 inbox
Simone Scalabrino, Giovanni Grano, Dario Di Nucci, Michele Guerra, Andrea De Lucia, Harald C. Gall, Rocco Oliveto
crossref: 2026-09-12

AI 速览

一句话:提出基于搜索的 C 语言测试数据生成工具 OCELOT,支持编写测试骨架并便于扩展实验。

自动生成测试用例能显著降低开发者在测试阶段的时间开销,而基于搜索的技术被认为是其中较有前景的方向。本文介绍了 OCELOT,一个面向 C 语言的基于搜索的测试数据生成工具。OCELOT 允许实践者为程序编写测试用例骨架,也使研究者能够方便地实现和实验新的自动测试数据生成方法。作者将 OCELOT 与一个具有竞争力的工具进行了对比评估,结果显示在 81% 的案例中 OCELOT 取得了更高的覆盖率。OCELOT 已公开提供,以支持研究者和实践者的使用。

问题
在 C 程序中自动生成高覆盖率的测试数据仍然困难,且现有工具对研究者扩展新搜索策略的支持不足。
方法
实现基于搜索的测试数据生成工具 OCELOT,允许用户编写测试骨架,并支持研究者插入和实验新的生成方法。
评估
与一个具有竞争力的工具进行对比,在 81% 的案例中 OCELOT 获得了更高的覆盖率。
原文摘要(Abstract)

Automatically generating test cases plays an important role to reduce the time spent by developers during the testing phase. In last years, several approaches have been proposed to tackle such a problem: amongst others, search-based techniques have been shown to be particularly promising. In this paper we describe Ocelot, a search-based tool for the automatic generation of test cases in C. Ocelot allows practitioners to write skeletons of test cases for their programs and researchers to easily implement and experiment new approaches for automatic test-data generation. We show that Ocelot achieves a higher coverage compared to a competitive tool in 81% of the cases. Ocelot is publicly available to support both researchers and practitioners.

链接与引用

DOI 原文 · PDF(开放获取) ·

BibTeX
@inproceedings{paperbot4798,
  title = {OCELOT: a search-based test-data generation tool for C},
  author = {Simone Scalabrino and Giovanni Grano and Dario Di Nucci and Michele Guerra and Andrea De Lucia and Harald C. Gall and Rocco Oliveto},
  booktitle = {ASE},
  year = {2018},
  doi = {10.1145/3238147.3240477}
}