The Cucumber for Java Book: Behaviour-Driven Development for Testers and Developers (Paperback)
暫譯: Java 的 Cucumber 書籍:針對測試人員和開發人員的行為驅動開發 (平裝本)

Seb Rose, Matt Wynne, Aslak Hellesoy

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

商品描述

Teams working on the JVM can now say goodbye forever to misunderstood requirements, tedious manual acceptance tests, and out-of-date documentation. Cucumber - the popular, open-source tool that helps teams communicate more effectively with their customers - now has a Java version, and our bestselling Cucumber Book has been updated to match. The Cucumber for Java Book has the same great advice about how to deliver rock-solid applications collaboratively, but with all code completely rewritten in Java. New chapters cover features unique to the Java version of Cucumber, and reflect insights from the Cucumber team since the original book was published.

Until now it's been difficult for teams developing Java applications to learn how to benefit from Behaviour-Driven Development (BDD). This book changes all that by describing in detail how to use Cucumber to harness the power of plain language specifications in your development process.

In part 1, you'll discover how to use Cucumber's Gherkin DSL to describe the behavior your customers want from the system. You'll also learn how to write Java code that interprets those plain language specifications and checks them against your application. Part 2 guides you through a worked example, using Spring, MySQL, and Jetty. Enhanced chapters teach you how to use Selenium to drive your application and handle asynchronous Ajax calls, and new chapters cover Dependency Injection (DI) and advanced techniques to help keep your test suites fast. Part 3 shows you how to integrate Cucumber with your Continuous Integration (CI) system, work with a REST web service, and even use BDD with legacy applications.

Written by the creator of Cucumber and two of its most experienced users and contributors, The Cucumber for Java Book is an authoritative guide that will give you and your team all the knowledge you need to start using Cucumber with confidence.

商品描述(中文翻譯)


現在,專注於 JVM 的團隊可以永遠告別誤解的需求、繁瑣的手動驗收測試和過時的文檔。Cucumber——這個流行的開源工具,幫助團隊與客戶更有效地溝通——現在有了 Java 版本,我們的暢銷書籍 Cucumber Book 也已更新以匹配。The Cucumber for Java Book 提供了相同的優秀建議,教你如何協作交付穩固的應用程式,但所有代碼都完全用 Java 重寫。新章節涵蓋了 Cucumber Java 版本的獨特功能,並反映了自原書出版以來 Cucumber 團隊的見解。

直到現在,開發 Java 應用程式的團隊一直難以學習如何從行為驅動開發(BDD)中受益。本書詳細描述了如何使用 Cucumber 來利用簡單語言規範的力量,改變了這一切。

在第一部分中,你將發現如何使用 Cucumber 的 Gherkin DSL 來描述客戶希望系統具備的行為。你還將學習如何編寫 Java 代碼來解釋這些簡單語言規範並將其與你的應用程式進行檢查。第二部分將引導你通過一個實作範例,使用 Spring、MySQL 和 Jetty。增強的章節教你如何使用 Selenium 驅動你的應用程式並處理異步 Ajax 調用,新的章節涵蓋了依賴注入(DI)和高級技術,以幫助保持測試套件的快速性。第三部分展示了如何將 Cucumber 與你的持續集成(CI)系統整合,與 REST 網路服務合作,甚至在舊有應用程式中使用 BDD。

本書由 Cucumber 的創建者及其兩位最有經驗的使用者和貢獻者撰寫,The Cucumber for Java Book 是一本權威指南,將為你和你的團隊提供開始自信使用 Cucumber 所需的所有知識。