Title :
Automatically Generating Test Cases for Specification Mining
Author :
Dallmeier, Valentin ; Knopp, Nikolai ; Mallon, Christoph ; Fraser, Gordon ; Hack, Sebastian ; Zeller, Andreas
Author_Institution :
Dept. of Software Eng., Saarland Univ., Saarbrucken, Germany
Abstract :
Dynamic specification mining observes program executions to infer models of normal program behavior. What makes us believe that we have seen sufficiently many executions? The TAUTOKO (“Tautoko” is the Mãori word for “enhance, enrich.”) typestate miner generates test cases that cover previously unobserved behavior, systematically extending the execution space, and enriching the specification. To our knowledge, this is the first combination of systematic test case generation and typestate mining-a combination with clear benefits: On a sample of 800 defects seeded into six Java subjects, a static typestate verifier fed with enriched models would report significantly more true positives and significantly fewer false positives than the initial models.
Keywords :
Java; automatic test pattern generation; data mining; formal specification; program verification; Java; TAUTOKO; automatic test case generation; dynamic specification mining; normal program behavior; program executions; static typestate verifier; typestate mining; Fault detection; Heuristic algorithms; Instruments; Java; Schedules; Software; Testing; Specification mining; test case generation; typestate analysis.;
Journal_Title :
Software Engineering, IEEE Transactions on
DOI :
10.1109/TSE.2011.105