Scripted GUI Testing with Ruby
Reviewed by Robert L. Pritchett
![](ScriptedGUITesting_files/image003.png)
Author: Ian Dees
The Pragmatic Programmers
Released: August 2008
$35
Pages: 192
ISDN: 9781934356180
Requirements: Know
Ruby and perhaps RSpec.
Strengths: Teaches software testing with
real-world applications.
Weaknesses: None
found. |
![](ScriptedGUITesting_files/image007.jpg)
|
Introduction
Scripted GUI Testing with Ruby is a practical, quick-moving tutorial based on real
life, and real-world GUI applications.
Right out of the gate you’ll start
working with code to drive a desktop GUI. You’ll discover the kinds of gotchas
and edge cases that don’t exist in simple, toy programs. As you add more tests,
you’ll learn how to organize your test code and write lucid examples. The
result is a series of “smoke tests” your team will run on Continuous
Integration servers.
Next, we’ll explore a variety of
different testing tips and tricks. You’ll employ a series of increasingly
random and punishing test monkeys to try to crash programs. Table-driven
techniques will show you how to check dozens of different input combinations.
See how to use longer acceptance tests (in the form of stories) to represent
the way a typical customer would use your program.
The book uses examples from
Windows, OS X, and cross-platform Java desktop programs as well as Web
applications. You’ll develop test scripts in Ruby; you don’t need to be a Ruby
expert, but basic comfort with the language will be helpful.
What I Learned
Ian Dees is immensely readable – and he has a light
sense of humor that shines through in his writing.
What is learned here can be used in Java-based testing as
well.
Amazon Reviews
Conclusion
If you are into testing software, this is a great book to
use as a baseline.
|