swMATH ID: 6857
Software Authors: Anthony Simons
Description: JWalk: a tool for lazy, systematic testing of java classes by design introspection and user interaction Popular software testing tools, such as JUnit, allow frequent retesting of modified code; yet the manually created test scripts are often seriously incomplete. A unit-testing tool called JWalk has therefore been developed to address the need for systematic unit testing within the context of agile methods. The tool operates directly on the compiled code for Java classes and uses a new lazy method for inducing the changing design of a class on the fly. This is achieved partly through introspection, using Java’s reflection capability, and partly through interaction with the user, constructing and saving test oracles on the fly. Predictive rules reduce the number of oracle values that must be confirmed by the tester. Without human intervention, \(JWalk\) performs bounded exhaustive exploration of the class’s method protocols and may be directed to explore the space of algebraic constructions, or the intended design state-space of the tested class. With some human interaction, JWalk performs up to the equivalent of fully automated state-based testing, from a specification that was acquired incrementally.
Homepage: http://staffwww.dcs.shef.ac.uk/people/A.Simons/jwalk/
Keywords: agile methods; unit testing; state-based testing; algebraic testing; lazy specification; lazy systematic testing; operational abstraction; JWalk; JUnit
Related Software: NanoXML; JCrasher; Eclat; Rostra; JUnit; Korat; TestEra; OBJ3; Daikon; Symstra
Referenced in: 0 Publications