BUY THIS BOOK
Add to Cart

Print Book $34.95


Add to UK Cart

Print Book £21.99

What is this?

Scripted GUI Testing with Ruby

By Ian Dees
August 2008
Publisher: Pragmatic Bookshelf
Pages: 192
ISBN 10: 1-934356-18-2 | ISBN 13: 9781934356180
Press Release

Buy 2 Get 1 Free Free ShippingGuarantee

Book description

If you need to automatically test a user interface, this book is for you. Whether it's Windows, Mac OS X, Java-based or a web app, you'll see how to test it reliably and repeatably.



Many automated test frameworks promise the world and deliver nothing but headaches. Fortunately, you've got a secret weapon: Ruby. Ruby lets you build up a solution to fit your problem, rather than forcing your problem to fit into someone else's idea of testing.



This book is for people who want to get their hands dirty on examples from the real world---and who know that testing can be a joy when the tools don't get in the way. It starts with the mechanics of simulating button pushes and keystrokes, and builds up to writing clear code, organizing tests, and beyond.


Full Description

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" 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.

Browse within this book

Cover




Featured customer reviews

Be the first person to review this book!

Write a Review


Scripted GUI Testing with Ruby
See larger cover