Introduction | p. 1 |
Testing for Fun and Profit | p. 1 |
Behavior-Driven Development and RSpec | p. 4 |
About This Book | p. 6 |
Acknowledgments | p. 8 |
One Big Example | p. 9 |
An Early Success | p. 11 |
First Steps | p. 11 |
Door #1: Windows | p. 15 |
Door #2: Swing with JRuby | p. 22 |
Review | p. 27 |
Refactoring with RSpec | p. 29 |
RSpec: The Language of Lucid Tests | p. 31 |
Building a Library | p. 36 |
The Story So Far | p. 41 |
Next Iteration: Simplify! | p. 43 |
Abstracting the Common Code | p. 44 |
Cleaning Windows | p. 45 |
Polishing JRuby | p. 56 |
Satisfaction | p. 58 |
The Home Stretch | p. 61 |
Save Me! | p. 61 |
The Password Is... | p. 67 |
Document Wrangling | p. 72 |
Cut to the Paste | p. 76 |
Are We There Yet? | p. 82 |
Aspects of Testing | p. 83 |
Branching Out | p. 85 |
Testing the App | p. 85 |
Testing the Tests | p. 85 |
Putting the Pieces Together | p. 86 |
Moving On | p. 87 |
Keep 'Em Guessing: Introducing Randomness | p. 89 |
Keys, Menu, or Mouse? | p. 89 |
Adding Lorem Ipsum to the Mix | p. 94 |
A Test Monkey Could Do This Job | p. 97 |
Breaking Camp | p. 100 |
Turn the Tables: Matrix Testing | p. 101 |
What to Test | p. 101 |
ZenTest and the Art of Matrix Maintenance | p. 103 |
Fit to Be Tested | p. 108 |
Testing the Tubes: Web Applications | p. 115 |
In-Browser Testing | p. 116 |
Selenium | p. 116 |
Selenium and RSpec | p. 123 |
Interacting with Ajax | p. 128 |
Watir | p. 132 |
Wrapping Up | p. 135 |
Testing in Plain English: Story Runner | p. 137 |
From Examples to Stories | p. 137 |
Designing with Stories | p. 142 |
Extending Our Design | p. 149 |
Where to Go from Here | p. 154 |
One More Thing: Testing on the Mac | p. 157 |
Taking the Reins | p. 157 |
From AppleScript to Ruby | p. 159 |
RSpec and AppleScript | p. 164 |
Other Windows Techniques | p. 167 |
Windows Script Host | p. 167 |
Win32::GuiTest | p. 168 |
Winobj | p. 169 |
A Few Win32 Definitions | p. 170 |
Resources | p. 173 |
Websites | p. 173 |
Books | p. 173 |
Bibliography | p. 174 |
Index | p. 175 |
Table of Contents provided by Ingram. All Rights Reserved. |
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.