Title :
Feedback-Based Specification, Coding and Testing with JWalk
Author :
Simons, Anthony J H ; Griffiths, Neil ; Thomson, Christopher
Author_Institution :
Dept. of Comput. Sci., Univ. of Sheffield, Sheffield
Abstract :
JWalk is a lazy systematic unit-testing tool for Java, which supports dynamic inference of specifications from code and systematic testing from the acquired specification. This paper describes the feedback-based development methodology that is possible using the JWalk Editor, an original Java-sensitive editor and compiler coupled to JWalk, which helps programmers to prototype Java class designs, generating novel test cases as they code. Systematic exploratory testing alerts the programmer to unusual consequences in the design; and confirmed test results become part of the evolving specification, which adapts continuously to modified classes and extends to subclasses. The cycle of coding, inferring and testing systematically exposes test cases that are often missed in other test-driven development approaches, which rely on programmer intuition to create test cases.
Keywords :
Java; feedback; formal specification; program testing; JWalk; Java-sensitive editor; feedback-based specification; systematic unit-testing tool; Computer industry; Computer languages; Computer science; Java; Job production systems; Program processors; Programming profession; Prototypes; Software testing; System testing; JWalk; lazy systematic unit testing; model-based testing; unit testing;
Conference_Titel :
Practice and Research Techniques, 2008. TAIC PART '08. Testing: Academic & Industrial Conference
Conference_Location :
Windsor
Print_ISBN :
978-0-7695-3383-4
DOI :
10.1109/TAIC-PART.2008.20