๐”– Bobbio Scriptorium
โœฆ   LIBER   โœฆ

[ACM Press the 42nd annual Southeast regional conference - Huntsville, Alabama (2004.04.02-2004.04.03)] Proceedings of the 42nd annual Southeast regional conference on - ACM-SE 42 - Specification-driven automated testing of GUI-based Java programs

โœ Scribed by Sun, Yanhong; Jones, Edward L.


Book ID
124097128
Publisher
ACM Press
Year
2004
Weight
492 KB
Category
Article
ISBN-13
9781581138702

No coin nor oath required. For personal study only.

โœฆ Synopsis


This paper presents a specification-driven approach to test automation for GUI-based JAVA programs as an alternative to the use of capture/replay. The NetBeans Jemmy library provides the basic technology. We introduce a GUI-event test specification language from which an automated test engine is generated. The test engine uses the library and incorporates the generation of GUI events, the capture of event responses, and an oracle to verify successful completion of events. The engine, once generated, can be used to test multiple versions of the application. The approach defined in this paper provides a language front-end to the Jemmy library to eliminate the programming usually needed to use this Java API. Results from applying the specification-driven approach to automate the grading of student programs indicate the feasibility of this approach. The specification-driven approach is equally useful for testing during development and regression testing. The primary benefit is that testers can focus on test case design rather than building test harnesses. This approach supports N-version testing, where each version of the application is intended to satisfy the same specification, and where each version is tested in an identical manner.


๐Ÿ“œ SIMILAR VOLUMES


[ACM Press the 42nd annual Southeast reg
โœ Garrido, Josรฉ M.; Im, Kyungsoo ๐Ÿ“‚ Article ๐Ÿ“… 2004 ๐Ÿ› ACM Press โš– 213 KB

PsimJ is a Java-based discrete-event simulation package that supports the process interaction approach to simulation. This paper presents insights of how this simulation tool can help improve the teaching of object-oriented simulation. The simulation tool can also be used to help to understand and v