Scripted GUI Testing with Ruby
暫譯: 使用 Ruby 進行腳本化 GUI 測試

Ian Dees

  • 出版商: Pragmatic Bookshelf
  • 出版日期: 2008-08-15
  • 定價: $1,225
  • 售價: 2.4$299
  • 語言: 英文
  • 頁數: 192
  • 裝訂: Paperback
  • ISBN: 1934356182
  • ISBN-13: 9781934356180
  • 相關分類: Ruby使用者介面 UI
  • 立即出貨 (庫存 < 3)

買這商品的人也買了...

商品描述

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.

商品描述(中文翻譯)

使用 Ruby 進行腳本化 GUI 測試》是一個基於現實生活和真實世界 GUI 應用程式的實用、快速進行的教程。

一開始你將開始使用程式碼來驅動桌面 GUI。你會發現一些在簡單的玩具程式中不存在的陷阱和邊緣案例。隨著你添加更多的測試,你將學會如何組織你的測試程式碼並撰寫清晰的範例。最終的結果是一系列的「煙霧測試」,團隊將在持續整合伺服器上運行這些測試。

接下來,我們將探索各種不同的測試技巧和竅門。你將使用一系列越來越隨機和苛刻的測試猴子來嘗試使程式崩潰。表驅動技術將向你展示如何檢查數十種不同的輸入組合。看看如何使用較長的驗收測試(以故事的形式)來代表典型客戶使用你的程式的方式。

本書使用來自 Windows、OS X 和跨平台 Java 桌面程式以及 Web 應用程式的範例。你將在 Ruby 中開發測試腳本;你不需要成為 Ruby 專家,但對這門語言有基本的熟悉度將會有所幫助。

最後瀏覽商品 (20)