The Cucumber for Java Book: Behaviour-Driven Development for Testers and Developers (Paperback)

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 Web 服務一起工作,甚至在遺留應用程式中使用 BDD。

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