買這商品的人也買了...
-
$1,500$1,425 -
$880$836 -
$480$379 -
$790$672 -
$1,584Building Evolutionary Architectures: Support Constant Change (Paperback)
-
$650$507 -
$720$612 -
$2,050$1,948 -
$477Rust 權威指南 (The Rust Programming Language (Covers Rust 2018))
-
$400$316 -
$780$390 -
$1,540Network Programming with Go: Learn to Code Secure and Reliable Network Services from Scratch
-
$450$355 -
$580$458 -
$780$616 -
$800$632 -
$650$455 -
$680$530 -
$620$465 -
$780$616 -
$980$774 -
$680$537 -
$380$300 -
$420$331 -
$820$647
商品描述
Summary
Java Testing with Spock teaches you how to use Spock for a wide range of testing use cases in Java. Readers new to Groovy will appreciate the succinct language tutorial that'll give you just enough Groovy to use Spock effectively.
Purchase of the print book includes a free eBook in PDF, Kindle, and ePub formats from Manning Publications.
About the Technology
Spock combines the features of tools like JUnit, Mockito, and JBehave into a single powerful Java testing library. With Spock, you use Groovy to write more readable and concise tests. Spock enables seamless integration testing, and with the intuitive Geb library, you can even handle functional testing of web applications.
About the Book
Java Testing with Spock teaches you how to use Spock for a wide range of testing use cases in Java. You'll start with a quick overview of Spock and work through writing unit tests using the Groovy language. You'll discover best practices for test design as you learn to write mocks, implement integration tests, use Spock's built-in BDD testing tools, and do functional web testing using Geb. Readers new to Groovy will appreciate the succinct language tutorial in chapter 2 that gives you just enough Groovy to use Spock effectively.
What's Inside
About the Reader
Written for Java developers. Knowledge of Groovy and JUnit is helpful but not required.
About the Author
Konstantinos Kapelonis is a software engineer who works with Java daily.
Table of Contents
PART 1 FOUNDATIONS AND BRIEF TOUR OF SPOCK
PART 2 STRUCTURING SPOCK TESTS
PART 3 SPOCK IN THE ENTERPRISE
商品描述(中文翻譯)
**摘要**
《Java Testing with Spock》教你如何在 Java 中使用 Spock 進行各種測試案例。對於新接觸 Groovy 的讀者,簡潔的語言教程將提供足夠的 Groovy 知識,以有效使用 Spock。
購買印刷書籍可獲得 Manning Publications 提供的免費電子書,格式包括 PDF、Kindle 和 ePub。
**關於技術**
Spock 將 JUnit、Mockito 和 JBehave 等工具的特性結合成一個強大的 Java 測試庫。使用 Spock,你可以用 Groovy 編寫更具可讀性和簡潔性的測試。Spock 支援無縫的整合測試,並且透過直觀的 Geb 庫,你甚至可以處理網頁應用程式的功能測試。
**關於本書**
《Java Testing with Spock》教你如何在 Java 中使用 Spock 進行各種測試案例。你將從 Spock 的快速概述開始,並學習使用 Groovy 語言編寫單元測試。在學習編寫模擬、實作整合測試、使用 Spock 的內建 BDD 測試工具以及使用 Geb 進行功能網頁測試的過程中,你將發現測試設計的最佳實踐。對於新接觸 Groovy 的讀者,第二章的簡潔語言教程將提供足夠的 Groovy 知識,以有效使用 Spock。
**內容概覽**
- 從基礎開始使用 Spock 進行測試
- 無需外部庫即可編寫模擬
- 業務分析師能夠閱讀的 BDD 測試
- 足夠的 Groovy 知識以使用 Spock
**關於讀者**
本書為 Java 開發人員撰寫。具備 Groovy 和 JUnit 知識將有助於理解,但並非必需。
**關於作者**
**Konstantinos Kapelonis** 是一位每天使用 Java 的軟體工程師。
**目錄**
**第一部分 Spock 的基礎與簡介**
- 介紹 Spock 測試框架
- Spock 測試所需的 Groovy 知識
- Spock 功能的簡介
**第二部分 結構化 Spock 測試**
- 使用 Spock 編寫單元測試
- 參數化測試
- 模擬與存根
**第三部分 企業中的 Spock**
- 使用 Spock 進行整合與功能測試
- 企業測試的 Spock 特性