Logo des Repositoriums
 

Probabilistic Grammar-based Test Generation

dc.contributor.authorSoremekun, Ezekiel
dc.contributor.authorPavese, Esteban
dc.contributor.authorHavrikov, Nikolas
dc.contributor.authorGrunske, Lars
dc.contributor.authorZeller, Andreas
dc.contributor.editorKoziolek, Anne
dc.contributor.editorSchaefer, Ina
dc.contributor.editorSeidl, Christoph
dc.date.accessioned2020-12-17T11:57:59Z
dc.date.available2020-12-17T11:57:59Z
dc.date.issued2021
dc.description.abstractGiven a program that has been tested on some sample input(s), what does one test next? To further test the program, one needs to construct inputs that cover (new) input features, in a manner that is different from the initial samples. This talk presents an approach that learns from past test inputs to generate new but different inputs. To achieve this, we present an approach called inputs from hell which employs probabilistic context-free grammars to learn the distribution of input elements from sample inputs. In this work, we employ probabilistic grammars as input parsers and producers. Applying probabilistic grammars as input parsers, we learn the statistical distribution of input features in sample inputs. As a producer, probabilistic grammars ensure that generated inputs are syntactically correct by construction, and it controls the distribution of input elements by assigning probabilities to individual production rules. Thus, we create inputs that are dissimilar to the sample by inverting learned probabilities. In addition, we generate failure-inducing inputs by learning from inputs that caused failures in the past, this gives us inputs that share similar features and thus also have a high chance of triggering bugs. This approach is useful for bug reproduction and testing for patch completeness.en
dc.identifier.doi10.18420/SE2021_36
dc.identifier.isbn978-3-88579-704-3
dc.identifier.pissn1617-5468
dc.identifier.urihttps://dl.gi.de/handle/20.500.12116/34532
dc.language.isoen
dc.publisherGesellschaft für Informatik e.V.
dc.relation.ispartofSoftware Engineering 2021
dc.relation.ispartofseriesecture Notes in Informatics (LNI) - Proceedings, Volume P-310
dc.subjectGrammar
dc.subjectTest Case Generation
dc.subjectProbabilistic Grammars
dc.subjectInput Samples
dc.titleProbabilistic Grammar-based Test Generationen
dc.typeText/ConferencePaper
gi.citation.endPage98
gi.citation.publisherPlaceBonn
gi.citation.startPage97
gi.conference.date22.-26. Februar 2021
gi.conference.locationBraunschweig/Virtuell

Dateien

Originalbündel
1 - 1 von 1
Vorschaubild nicht verfügbar
Name:
B1-35.pdf
Größe:
48.53 KB
Format:
Adobe Portable Document Format