Title :
Extracting Properties from Test Cases by Refactoring
Author :
Li, Huiqing ; Thompson, Simon ; Arts, Thomas
Author_Institution :
Sch. of Comput., Univ. of Kent, Canterbury, UK
Abstract :
A Quick Check property is a logical statement of aspects of the behaviour of a system. We report on how similar test cases in a test suite written in Erlang can be identified and then refactored into properties, giving a generalisation of the specification implicit in the test suite. Properties give more concise, easier to maintain test suites and better test coverage. A preliminary evaluation of the techniques in industry demonstrates feasibility as well as potential benefits.
Keywords :
formal specification; program testing; software maintenance; Erlang; Quick Check property; refactoring; test cases; Cloning; Codecs; Computer aided software engineering; Conferences; Detectors; Generators; Testing; property-based testing; refactoring; test cases;
Conference_Titel :
Software Testing, Verification and Validation Workshops (ICSTW), 2011 IEEE Fourth International Conference on
Conference_Location :
Berlin
Print_ISBN :
978-1-4577-0019-4
Electronic_ISBN :
978-0-7695-4345-1
DOI :
10.1109/ICSTW.2011.65