The Cucumber Book: Behaviour-Driven Development for Testers and Developers
暫譯: 《黃瓜書:測試人員與開發人員的行為驅動開發》

Matt Wynne, Aslak Hellesoy, Steve Tooke

  • 出版商: Pragmatic Bookshelf
  • 出版日期: 2017-03-28
  • 定價: $1,500
  • 售價: 8.8$1,320
  • 語言: 英文
  • 頁數: 336
  • 裝訂: Paperback
  • ISBN: 1680502387
  • ISBN-13: 9781680502381
  • 相關分類: Ruby
  • 立即出貨 (庫存=1)

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

相關主題

商品描述

Your customers want rock-solid, bug-free software that does exactly what they expect it to do. Yet they can't always articulate their ideas clearly enough for you to turn them into code. You need Cucumber: a testing, communication, and requirements tool-all rolled into one. All the code in this book is updated for Cucumber 2.4, Rails 5, and RSpec 3.5.

Express your customers' wild ideas as a set of clear, executable specifications that everyone on the team can read. Feed those examples into Cucumber and let it guide your development. Build just the right code to keep your customers happy. You can use Cucumber to test almost any system or any platform.

Get started by using the core features of Cucumber and working with Cucumber's Gherkin DSL to describe-in plain language-the behavior your customers want from the system. Then write Ruby code that interprets those plain-language specifications and checks them against your application. Next, consolidate the knowledge you've gained with a worked example, where you'll learn more advanced Cucumber techniques, test asynchronous systems, and test systems that use a database. Recipes highlight some of the most difficult and commonly seen situations the authors have helped teams solve. With these patterns and techniques, test Ajax-heavy web applications with Capybara and Selenium, REST web services, Ruby on Rails applications, command-line applications, legacy applications, and more.

Written by the creator of Cucumber and the co-founders of Cucumber Ltd., this authoritative guide will give you and your team all the knowledge you need to start using Cucumber with confidence.

What You Need:

Windows, Mac OS X (with XCode) or Linux, Ruby 1.9.2 and upwards, Cucumber 2.4, Rails 5, and RSpec 3.5

商品描述(中文翻譯)

您的客戶希望擁有穩固、無錯誤的軟體,能夠完全符合他們的期望。然而,他們並不總是能夠清楚地表達自己的想法,以便您將其轉化為程式碼。您需要 Cucumber:一個測試、溝通和需求工具,三者合而為一。本書中的所有程式碼均已更新至 Cucumber 2.4、Rails 5 和 RSpec 3.5。

將客戶的奇思妙想表達為一組清晰、可執行的規範,讓團隊中的每個人都能理解。將這些範例輸入 Cucumber,讓它指導您的開發。編寫恰到好處的程式碼,以保持客戶的滿意。您可以使用 Cucumber 測試幾乎任何系統或平台。

首先,使用 Cucumber 的核心功能,並利用 Cucumber 的 Gherkin DSL 以簡單的語言描述客戶希望系統具備的行為。然後編寫 Ruby 程式碼,解釋這些簡單語言的規範,並將其與您的應用程式進行檢查。接下來,通過一個實作範例來鞏固您所獲得的知識,您將學習更高級的 Cucumber 技巧、測試非同步系統以及測試使用資料庫的系統。食譜部分突顯了一些最具挑戰性和常見的情況,作者曾幫助團隊解決這些問題。利用這些模式和技術,測試以 Ajax 為重的網頁應用程式、Capybara 和 Selenium、REST 網路服務、Ruby on Rails 應用程式、命令列應用程式、舊版應用程式等。

本書由 Cucumber 的創建者及 Cucumber Ltd. 的共同創辦人撰寫,這本權威指南將為您和您的團隊提供開始自信使用 Cucumber 所需的所有知識。

您需要的環境:
Windows、Mac OS X(需安裝 XCode)或 Linux,Ruby 1.9.2 及以上版本,Cucumber 2.4,Rails 5 和 RSpec 3.5。