作者
Peter Alvaro, Andrew Hutchinson, Neil Conway, William R Marczak, Joseph M Hellerstein
发表日期
2012/5/21
图书
Proceedings of the Fifth International Workshop on Testing Database Systems
页码范围
1-7
简介
We present BloomUnit, a testing framework for distributed programs written in the Bloom language. BloomUnit allows developers to write declarative test specifications that describe the input/output behavior of a software module. Test specifications are expressed as Bloom queries over (distributed) execution traces of the program under test. To allow execution traces to be produced automatically, BloomUnit synthesizes program inputs that satisfy user-provided constraints. For a given input, BloomUnit systematically explores the space of possible network message reorderings. BloomUnit searches this space efficiently by exploiting program semantics to ignore "uninteresting" message schedules.
We illustrate the utility of BloomUnit by demonstrating an incremental process by which a programmer might provide and refine a set of queries and constraints until they define a rich set of correctness tests for a distributed …
引用总数
2012201320142015201620172018201920202021202220233124321111
学术搜索中的文章
P Alvaro, A Hutchinson, N Conway, WR Marczak… - Proceedings of the Fifth International Workshop on …, 2012