Spock: Up and Running: Writing Expressive Tests in Java and Groovy (Paperback)
暫譯: Spock:快速上手:在 Java 和 Groovy 中編寫表達性測試(平裝本)
Rob Fletcher
商品描述
Few developers would argue that writing automated tests is a good idea, but actually pursue it is a different story. If you build applications with Java or Groovy, there’s good news: the Spock testing framework, built on the foundation of JUnit. This definitive guide shows you how to use Spock’s expressive test capabilities to write concise and highly readable tests.
Written by a senior software engineer at Netflix with more than 15 years of experience writing automated tests within the Java and Groovy ecosystems, this book takes you from Spock basics to advanced topics, using fully worked integration examples. Learn how initiate test-driven development in your team, using tests as living documentation—and discover why Spock is the most accessible, modern, and innovative testing framework on the JVM.
商品描述(中文翻譯)
少數開發人員會爭辯自動化測試是一個好主意,但實際上付諸實行則是另一回事。如果您使用 Java 或 Groovy 開發應用程式,則有好消息:Spock 測試框架建立在 JUnit 的基礎上。本書是一本權威指南,展示了如何利用 Spock 的表達性測試功能來編寫簡潔且高度可讀的測試。
本書由一位在 Netflix 擔任資深軟體工程師的作者撰寫,他在 Java 和 Groovy 生態系統中擁有超過 15 年的自動化測試經驗。本書將帶您從 Spock 的基礎知識進入進階主題,並使用完整的整合範例進行說明。學習如何在您的團隊中啟動測試驅動開發,將測試作為活的文檔——並發現為什麼 Spock 是 JVM 上最易於使用、現代且創新的測試框架。