Back to search

The University of Western Ontario

Generating Invalid Input Strings for Software Testing

Abstract

dc:description.abstract

Grammar-based testing has interested the academic community for decades, but little work has been done with regards to testing with invalid input strings. For our research, we generated LR parse tables from grammars. We then generated valid and invalid strings based on coverage of these tables. We evaluated the effectiveness of these strings in terms of code coverage and fault detection by inputting them to subject programs which accept input based on the grammars. For a baseline, we then compared the effectiveness of these strings to a more general approach where the tokens making up each string are chosen randomly. Analysis revealed that the LR strategy achieved higher code coverage than the randomly generated strings in most cases. Even when the LR strategy garnered less code coverage, it still covered substantial code not touched by the benchmark. The LR strategy also showed effective fault finding ability for some programs.

Degree

thesis:*
Name thesis:degree_name
M Sc
Discipline thesis:degree_discipline
Computer Science
Grantor dc:publisher
The University of Western Ontario
Year dc:date.issued
2015

Author and committee

dc:creator, dc:contributor.*
Author dc:creator
  • Revington, Benjamin D
Advisor dc:contributor.advisor
  • Andrews, James H.

Subjects

dc:subject × 5

Rights

Language dc:language.iso
en_ca

Identifiers

dc:identifier.*

Chain of custody

source
Harvested from
Western University
Base URL
uwo.scholaris.ca/server/oai/request
Last updated
2026-11-26
Source record
OAI-PMH GetRecord
citation

Revington, Benjamin D. Generating Invalid Input Strings for Software Testing. The University of Western Ontario, 2015. https://hdl.handle.net/20.500.14721/36061