Spock: Up and Running: Writing Expressive Tests in Java and Groovy (Paperback) (斯波克:快速上手:用 Java 和 Groovy 編寫表達性測試)

Rob Fletcher

  • 出版商: O'Reilly
  • 出版日期: 2017-06-20
  • 定價: $1,930
  • 售價: 8.0$1,544
  • 語言: 英文
  • 頁數: 372
  • 裝訂: Paperback
  • ISBN: 1491923296
  • ISBN-13: 9781491923290
  • 相關分類: JVM 語言Java 程式語言
  • 立即出貨 (庫存 < 4)

相關主題

商品描述

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的資深軟體工程師撰寫,擁有超過15年在Java和Groovy生態系統中撰寫自動化測試的經驗。從Spock的基礎知識到高級主題,透過完整的整合範例,你將學習如何在團隊中啟動測試驅動開發,將測試用作活的文件,並發現為什麼Spock是JVM上最易於接觸、現代化和創新的測試框架。