xUnit Test Patterns: Refactoring Test Code (Hardcover)
暫譯: xUnit 測試模式:重構測試代碼 (精裝版)
Gerard Meszaros
- 出版商: Addison Wesley
- 出版日期: 2007-05-01
- 售價: $3,350
- 貴賓價: 9.5 折 $3,183
- 語言: 英文
- 頁數: 833
- 裝訂: Hardcover
- ISBN: 0131495054
- ISBN-13: 9780131495050
-
相關分類:
Unit Test 單元測試
立即出貨(限量) (庫存=1)
買這商品的人也買了...
-
Design Patterns: Elements of Reusable Object-Oriented Software (Hardcover)$2,450$2,401 -
Code Complete: A Practical Handbook of Software Construction, 2/e (Paperback)$2,280$2,166 -
Linux 指令詳解辭典$650$553 -
深入淺出設計模式 (Head First Design Patterns)$880$695 -
深入淺出 Java 程式設計, 2/e (Head First Java, 2/e)$880$695 -
作業系統原理 (Silberschatz: Operating System Principles, 7/e)$780$741 -
SQL 語法範例辭典$550$468 -
Linux 驅動程式, 3/e (Linux Device Drivers, 3/e)$980$774 -
Advanced Engineering Mathematics, 6/e$1,180$1,121 -
Linux 作業系統之奧義$480$379 -
互動設計:跨越人-電腦互動(Interaction Design Beyond Human-computer interaction)$700$630 -
PHP 5 & MySQL 程式設計, 2/e$580$493 -
深入淺出物件導向分析與設計 (Head First Object-Oriented Analysis and Design)$880$695 -
Microsoft .NET Framework 2.0:應用程式開發基礎 I (MCTS Self-Paced Training Kit (Exam 70-536): Microsoft .NET Framework 2.0 Application Development Foundation)$680$537 -
軟體測試實務講座─來自矽谷的技術經驗與心得分享$290$226 -
現代嵌入式系統開發專案實務-菜鳥成長日誌與專案經理的私房菜$600$480 -
$1,872Continuous Integration: Improving Software Quality and Reducing Risk (Paperback) -
Microsoft .NET Framework 2.0:應用程式開發基礎 II (MCTS Self-Paced Training Kit (Exam 70-536): Microsoft .NET Framework 2.0 Application Development Foundation)$620$490 -
深入淺出軟體開發 (Head First Software Development)$680$578 -
WebGL Programming Guide: Interactive 3D Graphics Programming with WebGL (Paperback)$1,980$1,940 -
The Art of Unit Testing: with examples in C#, 2/e (Paperback)$1,650$1,568 -
Build Awesome Command-Line Applications in Ruby 2: Control Your Computer, Simplify Your Life (Paperback)$990$941 -
Linux 指令大全 (The Linux Command Line: A Complete Introduction)$590$466 -
Learning Responsive Web Design: A Beginner's Guide (Paperback)$1,550$1,473 -
JavaScript 大全, 7/e (Javascript: The Definitive Guide: Master the World's Most-Used Programming Language, 7/e)$1,200$948
商品描述
Description
Automated testing is a cornerstone of agile development. Testing can deliver new functionality more aggressively, accelerate user feedback, and improve quality. However, for many developers, creating effective automated tests is a unique and unfamiliar challenge.
XUnit Test Patterns is the definitive guide to writing automated tests for today's popular XUnit test automation frameworks. Renowned testing expert Gerard Meszaros introduces more than 120 proven patterns for making tests easier to write, understand, and maintain. He then shows you how to make them more robust and repeatable, and far more cost-effective.
Drawing on his extensive experience, Meszaros illuminates the evolving role of software testing and clearly defines unit, component and system testing. He then links these concepts to the "programmer" and "customer" tests required by agile methods. You'll learn how to optimize your test automation strategy, organize it, and implement it with XUnit. You'll also learn three categories of recurring problems, and how to overcome each of these "test smells."
A comprehensive reference to more than 120 testing patterns is included, and Meszaros illuminates the principles underlying each pattern, offering step-by-step usage instructions. You'll find high-level strategy patterns, design-level patterns for testing specific functionality, and coding idioms for optimizing specific tests. In addition, an extensive library of relevant code samples is available online. Topics covered include:
- Writing better tests--and writing them faster
- Software testing phases: fixture setup, exercise SUT, result verification, and fixture teardown
- Testing business logic, databases, user interfaces, and machine-to-machine interfaces
- Isolating software to test it independently from its environment
- Refactoring tests for greater simplicity
- Working effectively with XUnit, NUnit, JUnit, and other implementations
- Designing software for greater testability
This book will benefit developers, managers, and testers working with any agile or conventional development process, any testing framework, and any testing strategy--from "tests as specification" to "tests as safety net."
商品描述(中文翻譯)
**描述**
自動化測試是敏捷開發的基石。測試可以更積極地交付新功能,加速用戶反饋,並提高質量。然而,對於許多開發人員來說,創建有效的自動化測試是一個獨特且不熟悉的挑戰。
**XUnit 測試模式** 是撰寫當今流行的 XUnit 測試自動化框架的權威指南。著名的測試專家 Gerard Meszaros 介紹了超過 120 種經過驗證的模式,使測試更易於編寫、理解和維護。他接著展示了如何使這些測試更具穩健性和可重複性,並且更具成本效益。
根據他豐富的經驗,Meszaros 闡明了軟體測試不斷演變的角色,並清楚定義了單元測試、組件測試和系統測試。他然後將這些概念與敏捷方法所需的「程式設計師」和「客戶」測試聯繫起來。您將學會如何優化您的測試自動化策略,組織它,並使用 XUnit 實施它。您還將學習三類重複出現的問題,以及如何克服這些「測試異味」。
本書包含超過 120 種測試模式的全面參考,Meszaros 解釋了每個模式背後的原則,並提供逐步的使用說明。您將找到高層次的策略模式、針對特定功能的設計級模式,以及優化特定測試的編碼慣用法。此外,還提供了大量相關的程式碼範例庫。涵蓋的主題包括:
- 撰寫更好的測試——並更快地撰寫它們
- 軟體測試階段:設置測試環境、執行被測試單元 (SUT)、結果驗證和拆除測試環境
- 測試業務邏輯、數據庫、用戶界面和機器對機器接口
- 隔離軟體以獨立於其環境進行測試
- 重構測試以提高簡單性
- 有效使用 XUnit、NUnit、JUnit 和其他實現
- 設計更易測試的軟體
本書將使任何使用敏捷或傳統開發流程、任何測試框架和任何測試策略的開發人員、管理者和測試人員受益——從「測試作為規範」到「測試作為安全網」。
