Building Very Small Test Suites (with Snap)

Jianfeng Chen, Xipeng Shen, Tim Menzies
5/14/2019
cs.SE

Official code: ai-se/SatSpaceExpo (2 stars, C++, LGPL-3.0, last commit 2023-01-28).

Abstract

Software is now so large and complex that additional architecture is needed to guide theorem provers as they try to generate test suites. For example, the SNAP test suite generator (introduced in this paper) combines the Z3 theorem prover with the following tactic: sample around the average values seen in a few randomly selected valid tests.

Show full abstract

This tactic is remarkably effective. For 27 real-world programs with up to half a million variables, SNAP found test suites which were 10 to 750 smaller times than those found by the prior state-of-the-art. Also, SNAP ran orders of magnitude faster and (unlike prior work) generated 100% valid tests.

View on arXivView PDF

Code Implementations(1)

ai-se/SatSpaceExpoOfficial100%
LGPL-3.0

Explore the SAT problem spaces via sampling

21C++, CJan 28, 20193 years agoLGPL-3.0

Similar Papers

Cite this paper

@article{chen2019building,
  title  = {Building Very Small Test Suites (with Snap)},
  author = {Jianfeng Chen and Xipeng Shen and Tim Menzies},
  year   = {2019},
  eprint = {1905.05358},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/1905.05358}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/1905.05358.svg)](https://codeofpaper.com/paper/1905.05358)

Discussion