|
libcats.org
Scripted GUI Testing with RubyIan DeesIan Dees is wise enough to realize that automation is not the Ultimate Solution to Everything, pointing out that "some domains are better suited than others for automation". "So," he asks, "why not let the computers and people each do what they're good at?" To that end, he offers his new book "Scripted GUI Testing with Ruby", a book for testers who code and coders who test -- and maybe for others, as well.
As the title implies, test scripts are written in the Ruby language -- and its Java implementation, JRuby -- and the author assumes that readers will have some experience with Ruby. If you've written and run a few Ruby scripts, you'll be fine. Ian doesn't require you to be a black-belt Rubyist to understand what's going on here, and his humor helps keep it interesting. Ian's guinea pig for client-side testing is LockNote, a simple text editor that saves your notes with password-protected encryption. The program is freely available for Windows, and Ian has developed his own cross-platform Java/Swing version, dubbed "JunqueNote". Using these two applications, Dees teaches us how to automate testing of GUI applications on both the Windows and Java platforms. You'll learn how to launch the app and use API calls to find windows, automate keystrokes and mouse-clicks, and more. This can be valuable as either a means to an end, or as the end goal itself; whether you're testing software, or simply looking to automate it via the user interface. In one chapter, Dees provides a gentle introduction to the popular RSpec Behaviour Driven Development framework. In another, he shows how we can simplify our test code by separating out the common code from the platform-specific code. Because the focus is on software testing, the author devotes a chapter to leveraging randomness to expose bugs that might otherwise be missed. Another chapter focuses on the ZenTest test matrix library. A later chapter delves into testing web-based applications using Selenium and WATIR, and how to combine these with RSpec. As a Ruby on Windows advocate, I'm pleased to see a book that devotes more than just a half-dozen pages to Windows-specific task automation. But "Scripted GUI Testing with Ruby" spends a good deal of time discussing Java-based testing, as well. This book is targeted at software testers, and they'll certainly be the section of the market that gets the maximum value from it. But it has potential value beyond that niche. There's something useful to be learned by both testers and non-testers, on both Java and Windows platforms. Ссылка удалена правообладателем ---- The book removed at the request of the copyright holder.
Популярные книги за неделю:
#2
В.Бекетов, К.Харченко. Измерения и испытания при конструировании и регулировке радиолюбительских антенн (djvu)
4.82 Mb
#4
Самодельные детали для сельского радиоприемникаАвторы: З.Б.Гинзбург, Ф.И.Тарасов.Категория: радиоэлектроника
1.40 Mb
#7
Система упражнений по развитию способностей человека (Практическое пособие)Петров Аркадий НаумовичКатегория: Путь к себе
818 Kb
Только что пользователи скачали эти книги:
#2
Строительство стволов шахт и рудниковПод ред. О. С. Докукина и Н. С. БолотскихКатегория: География геология геодезия, справочник
48.32 Mb
#3
ЗОЛОТО - ПЛАТИНОНОСНОСТЬ ГЛАВНЕЙШИХ ТИПОВ ЖЕЛЕЗОРУДНЫХ ФОРМАЦИЙ МИРАЧл. корр. РАН Н.М. Чернышов, С.П. Молотков, О.Г. РезниковаКатегория: География геология геодезия геология
1.19 Mb
#4
Эпитермальная золотая минерализацияДжеффри ХеденквистКатегория: География геология геодезия, Рудная геотермия
6.98 Mb
#5
Гидротермальные системы и рудообразование (курс лекций)Лоулисс Дж.Категория: География геология геодезия, рудная геотермия
21.41 Mb
#6
ГЛАВНЫЕ ГИДРОТЕРМАЛЬНЫЕ МИНЕРАЛЫ И ИХ ЗНАЧЕНИЕпод редакцией В. И. БелоусоваКатегория: География геология геодезия
832 Kb
#7
Жизнь и смерть в блокированном Ленинграде: Историко-медицинский аспектБарбер, ДзенискевичКатегория: Военная история
20.42 Mb
#8
Методология педагогики: Пособие для педагогов-исследователейКраевский В.В.Категория: Народное образование. Педагогика
1.45 Mb
#9
Изготовление самодельного станка с ЧПУ (управление от компьютера)Категория: ТЕХНИКА, ХОББИ и РЕМЕСЛА
10.30 Mb
|
|