The Video Store Revisited Yet Again: Adventures in GUI Acceptance Testing
暂无分享,去创建一个
Acceptance testing for graphical user interfaces has long been recognised as a hard problem. At the same time, a full suite of acceptance tests written by the Onsite Customer has been a key principle of XP since it began [1]. It seems, however, that practice has lagged behind theory, with many practitioners still reporting weak or no acceptance testing. At XP2003, we presented our successes with text-based acceptance testing of a batch program [2]. In the past year we have extended this approach to apply to a user interface. We have developed an approach based on simulation of user actions via a record/replay layer between the application and the GUI library, generating a high-level script that functions as a use-case scenario, and using our text-based approach for verification of correctness. We believe this is an approach to GUI acceptance testing which is both customer- and developer-friendly.
[1] Johan Andersson,et al. XP with Acceptance-Test Driven Development: A Rewrite Project for a Resource Optimization System , 2003, XP.
[2] Michele Marchesi,et al. Extreme Programming and Agile Processes in Software Engineering , 2003, Lecture Notes in Computer Science.
[3] Arie van Deursen,et al. The Video Store Revisited – Thoughts on Refactoring and Testing , 2002 .