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

Matt Wynne, Aslak Hellesoy

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

商品描述

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. The Cucumber Book dives straight into the core of the problem: communication between people. Cucumber saves the day; it's a testing, communication, and requirements tool - all rolled into one.

We'll show you how to express your customers' wild ideas as a set of clear, executable specifications that everyone on the team can read. You'll learn how to feed those examples into Cucumber and let it guide your development. You'll build just the right code to keep your customers happy, and not a line more.

The first part of the book teaches you how to use the core features of Cucumber. You'll learn how to use Cucumber's Gherkin DSL to describe-- in plain language - the behavior your customers want from the system. You'll learn how to write Ruby code that interprets those plain language specifications and checks them against your application. In Part 2, you'll consolidate the knowledge you just gained with a worked example.

Although it was born in the Ruby community, you can use Cucumber to test almost any system, from a simple shell script or a Perl script, to enterprise PHP or a Java web application. In Part 3, you'll find a selection of recipes for some of the most common situations you'll encounter using Cucumber in the wild. You'll learn how to test Ajax-heavy web applications with Capybara and Selenium, REST web services, Ruby on Rails applications, command-line applications, legacy applications and lots more!

Written by the creator of Cucumber and one of its most experienced users and contributors, The Cucumber Book is an authoritative guide that 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 書籍》直接切入問題的核心:人與人之間的溝通。Cucumber 成為解決方案;它是一個測試、溝通和需求工具,三者合而為一。

我們將向您展示如何將客戶的奇思妙想表達為一組清晰、可執行的規範,讓團隊中的每個人都能理解。您將學會如何將這些範例輸入 Cucumber,並讓它指導您的開發。您將編寫恰到好處的程式碼,以保持客戶的滿意,而不會多寫一行。

本書的第一部分教您如何使用 Cucumber 的核心功能。您將學會如何使用 Cucumber 的 Gherkin DSL 以簡單的語言描述客戶希望系統具備的行為。您將學會如何編寫 Ruby 程式碼來解釋這些簡單語言的規範,並將其與您的應用程式進行檢查。在第二部分,您將通過一個實作範例來鞏固剛學到的知識。

雖然 Cucumber 起源於 Ruby 社群,但您可以使用 Cucumber 測試幾乎任何系統,從簡單的 shell 腳本或 Perl 腳本,到企業級的 PHP 或 Java 網頁應用程式。在第三部分,您將找到一些在實際使用 Cucumber 時最常遇到的情境的範例。您將學會如何使用 Capybara 和 Selenium 測試重度使用 Ajax 的網頁應用程式、REST 網路服務、Ruby on Rails 應用程式、命令列應用程式、舊版應用程式等等!

《Cucumber 書籍》由 Cucumber 的創建者及其最有經驗的使用者和貢獻者之一撰寫,是一本權威指南,將為您和您的團隊提供開始自信使用 Cucumber 所需的所有知識。

您需要的環境:
- Windows、Mac OS X(需安裝 XCode)或 Linux
- Ruby 1.9.2 及以上版本

最後瀏覽商品 (20)