Open Access
Generating efficient test oracles from specifications
Markus Bender
- 23 Aug 2010
TL;DR: This minor thesis shows a way to optimise a generated oracle to achieve shorter runtimes and explains four different possibilities to reduce the execution time of the oracle by manipulating the quantified formular whereas this approach is only applicable if the quantify variables are of type Integer.
read more
Abstract: This minor thesis shows a way to optimise a generated oracle to achieve shorter runtimes. Shorter runtimes of test cases allows the execution of more test cases in the same time. The execution of more test cases leads to a higher confidence in the software-quality. Oracles can be derived from specifications. However specifications are used for different purposes and therefore are not necessarily executable. Even if the are executable it might be with only a high runtime. Those two facts come mostly from the use of quantifiers in the logic. If the quantifier-range is not bounded, respectively if the bounds are outside the target language-datatype-limits, the specification is too expressive to be exported into a program. Even if the bounds inside the used datatype-limits, the quantification is represented as a loop which leads to a runtime blowup, especially if quantifiers are nested. This work explains four different possibilities to reduce the execution time of the oracle by manipulating the quantified formular whereas this approach is only applicable if the quantified variables are of type Integer.
read more
Chat with Paper
AI Agents for this Paper
Find similar papers on Google Scholar, PubMed and Arxiv
Write a critical review of this paper
Analyze citations of this paper to find unaddressed research gaps
References
•Book
Logic for problem solving
Robert A. Kowalski,Steve Smoliar +1 more
- 01 Jan 1979
TL;DR: This book investigates the application of logic to problem-solving and computer programming and assumes no previous knowledge of these fields, and may be Karl duncker in addition to make difficult fill one of productive.
1.6K
•Book
The Object-Z specification language
Graeme Smith
- 31 Dec 1999
TL;DR: A glossary of words and examples of sentences used in this chapter, as well as some of the statements made in theibliography, are provided.
692
Design by Contract with JML
Gary T. Leavens,Yoonsik Cheon +1 more
- 01 Jan 2006
TL;DR: This document gives a tutorial introduction to the Java Modeling Language (JML), and explains how JML can be used as a powerful design by contract (DBC) tool for Java.
Specifications are not (necessarily) executable
Ian J. Hayes,Cliff B. Jones +1 more
- 01 Jan 1999
TL;DR: This paper presents a number of arguments against the idea that specifications might be executed, and warns of the dangers of limiting specification languages to the point where all of their constructs can be executed.
230
Generating a test oracle from program documentation: work in progress
Dennis Peters,David Lorge Parnas +1 more
- 01 Aug 1994
TL;DR: This paper discusses ongoing work to produce a tool that will generate a test oracle from formal program documentation, and the method works with program Documentation, written in terms of the concrete variables, and no representation function need be supplied.
79