Theory-infected: Or how I learned to stop worrying and love universal quantification

Download: PDF.

“Theory-infected: Or how I learned to stop worrying and love universal quantification” by David Saff. In Companion to Object-Oriented Programming Systems, Languages, and Applications (OOPSLA 2007), (Montréal, Canada), October 23-25, 2007, pp. 846-847.

Abstract

Writing developer tests as software is built can provide peace of mind. As the software grows, running the tests can prove that everything still works as the developer envisioned it. But what about the behavior the developer failed to envision? Although verifying a few well-picked scenarios is often enough, experienced developers know bugs can often lurk even in well-tested code, when correct but untested inputs provoke obviously wrong responses. This leads to worry.

We suggest writing Theories alongside developer tests, to specify desired universal behaviors. We will demonstrate how writing theories affects test-driven development, how new features in JUnit can verify theories against hand-picked inputs, and how a new tool, Theory Explorer, can search for new inputs, leading to a new, less worrisome approach to development.

Download: PDF.

BibTeX entry:

@inproceedings{Saff2007:OOPSLA2007demo,
   author = {David Saff},
   title = {Theory-infected: Or how {I} learned to stop worrying and love
	universal quantification},
   booktitle = {Companion to Object-Oriented Programming Systems,
	Languages, and Applications (OOPSLA 2007)},
   pages = {846--847},
   address = {Montr{\'e}al, Canada},
   month = {October~23--25,},
   year = {2007}
}

(This webpage was created with bibtex2web.)

Back to Program Analysis Group publications.