買這商品的人也買了...
-
Beyond Legacy Code: Nine Practices to Extend the Life (and Value) of Your Software (Paperback)$1,500$1,425 -
Exercises for Programmers: 57 Challenges to Develop Your Coding Skills (Paperback)$880$836 -
UX 從新手開始|使用者體驗的 100堂必修課 (UX for Beginners: A Crash Course in 100 Short Lessons)$480$379 -
無瑕的程式碼-敏捷完整篇-物件導向原則、設計模式與 C# 實踐 (Agile principles, patterns, and practices in C#)$790$616 -
$1,782Building Evolutionary Architectures: Support Constant Change (Paperback) -
演算法之美:隱藏在資料結構背後的原理 (C++版)$650$507 -
Working Effectively with Legacy Code : 管理、修改、重構遺留程式碼的藝術 (中文版)$720$562 -
Learning Groovy 3: Java-Based Dynamic Scripting$2,020$1,919 -
$477Rust 權威指南 (The Rust Programming Language (Covers Rust 2018)) -
全員敏捷|創造快速、彈性與客戶優先的組織 (Agile for Everybody)$400$316 -
再強一點:用 Go語言完成六個大型專案$780$616 -
$1,400Network Programming with Go: Learn to Code Secure and Reliable Network Services from Scratch -
黑帽 Python|給駭客與滲透測試者的 Python 開發指南, 2/e (Black Hat Python : Python Programming for Hackers and Pentesters, 2/e)$450$356 -
Spring REST API 開發與測試指南|使用 Swagger、HATEOAS、JUnit、Mockito、PowerMock、Spring Test$580$493 -
Linux 網路內功修煉 - 徹底了解底層原理及高性能架構$780$663 -
演算法生存指南(書況差限門市銷售)$800$632 -
Testing Web APIs:從設計到實作測試策略,交付高品質的 API$650$507 -
遞迴演算法大師親授面試心法:Python 與 JavaScript 解題全攻略 (The Recursive Book of Recursion)$680$530 -
建構機器學習系統實踐指南$620$490 -
機器學習的訓練資料 (Training Data for Machine Learning)$780$616 -
資料工程基礎|規劃和建構強大、穩健的資料系統 (Fundamentals of Data Engineering)$980$774 -
讓 AI 好好說話!從頭打造 LLM (大型語言模型) 實戰秘笈$680$537 -
日式 RPG 編年史:從 DQ 到 FF,角色扮演遊戲敘事手法完全剖析$380$300 -
軟體工程師的英語使用守則:English for Developers$420$357 -
內行人才知道的系統設計面試指南 第二輯 (System Design Interview – An Insider's Guide: Volume 2)$820$648
相關主題
商品描述
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 特性
