JonHoyle.com Mirror of MacCompanion
http://www.maccompanion.com/macc/archives/April2009/Books/ScriptedGUITesting.htm

macCompanion MyAppleSpace Forum Archives Products Services About Us FAQs

Resources

                                           

Consultants

Developers

Devotees

Downloads

"Foreign" Macs

Forums

Hearsay

Link Lists

Mac 3D

Macazines

Mac Jobs

MUG Shots

News

Radio

Reviews

Think Different

Training

 

Scripted GUI Testing with Ruby

Reviewed by Robert L. Pritchett

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.

 

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.