rent-now

Rent More, Save More! Use code: ECRENTAL

5% off 1 book, 7% off 2 books, 10% off 3+ books

9781934356180

Scripted GUI Testing with Ruby

by
  • ISBN13:

    9781934356180

  • ISBN10:

    1934356182

  • Format: Paperback
  • Copyright: 2008-08-15
  • Publisher: Oreilly & Associates Inc
  • Purchase Benefits
  • Free Shipping Icon Free Shipping On Orders Over $35!
    Your order must be $35 or more to qualify for free economy shipping. Bulk sales, PO's, Marketplace items, eBooks and apparel do not qualify for this offer.
  • eCampus.com Logo Get Rewarded for Ordering Your Textbooks! Enroll Now
List Price: $34.95

Summary

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.

Table of Contents

Introductionp. 1
Testing for Fun and Profitp. 1
Behavior-Driven Development and RSpecp. 4
About This Bookp. 6
Acknowledgmentsp. 8
One Big Examplep. 9
An Early Successp. 11
First Stepsp. 11
Door #1: Windowsp. 15
Door #2: Swing with JRubyp. 22
Reviewp. 27
Refactoring with RSpecp. 29
RSpec: The Language of Lucid Testsp. 31
Building a Libraryp. 36
The Story So Farp. 41
Next Iteration: Simplify!p. 43
Abstracting the Common Codep. 44
Cleaning Windowsp. 45
Polishing JRubyp. 56
Satisfactionp. 58
The Home Stretchp. 61
Save Me!p. 61
The Password Is...p. 67
Document Wranglingp. 72
Cut to the Pastep. 76
Are We There Yet?p. 82
Aspects of Testingp. 83
Branching Outp. 85
Testing the Appp. 85
Testing the Testsp. 85
Putting the Pieces Togetherp. 86
Moving Onp. 87
Keep 'Em Guessing: Introducing Randomnessp. 89
Keys, Menu, or Mouse?p. 89
Adding Lorem Ipsum to the Mixp. 94
A Test Monkey Could Do This Jobp. 97
Breaking Campp. 100
Turn the Tables: Matrix Testingp. 101
What to Testp. 101
ZenTest and the Art of Matrix Maintenancep. 103
Fit to Be Testedp. 108
Testing the Tubes: Web Applicationsp. 115
In-Browser Testingp. 116
Seleniump. 116
Selenium and RSpecp. 123
Interacting with Ajaxp. 128
Watirp. 132
Wrapping Upp. 135
Testing in Plain English: Story Runnerp. 137
From Examples to Storiesp. 137
Designing with Storiesp. 142
Extending Our Designp. 149
Where to Go from Herep. 154
One More Thing: Testing on the Macp. 157
Taking the Reinsp. 157
From AppleScript to Rubyp. 159
RSpec and AppleScriptp. 164
Other Windows Techniquesp. 167
Windows Script Hostp. 167
Win32::GuiTestp. 168
Winobjp. 169
A Few Win32 Definitionsp. 170
Resourcesp. 173
Websitesp. 173
Booksp. 173
Bibliographyp. 174
Indexp. 175
Table of Contents provided by Ingram. All Rights Reserved.

Supplemental Materials

What is included with this book?

The New copy of this book will include any supplemental materials advertised. Please check the title of the book to determine if it should include any access cards, study guides, lab manuals, CDs, etc.

The Used, Rental and eBook copies of this book are not guaranteed to include any supplemental materials. Typically, only the book itself is included. This is true even if the title states it includes any access cards, study guides, lab manuals, CDs, etc.

Rewards Program