Developer Testing: Building Quality Into Software (Addison-Wesley Signature)
Alexander Tarlinder
- 出版商: Addison Wesley
- 出版日期: 2016-09-06
- 售價: $1,400
- 貴賓價: 9.5 折 $1,330
- 語言: 英文
- 頁數: 352
- 裝訂: Paperback
- ISBN: 0134291069
- ISBN-13: 9780134291062
-
相關分類:
軟體工程、軟體測試
-
相關翻譯:
程序開發人員測試指南 構建高質量的軟件 (簡中版)
立即出貨 (庫存 < 4)
買這商品的人也買了...
-
$1,200$948 -
$580$452 -
$360$281 -
$420$332 -
$780$616 -
$580$452 -
$680$537 -
$780$616 -
$1,620$1,539 -
$520$411 -
$580$493 -
$580$458 -
$860$731 -
$380$323 -
$480$379 -
$560$476 -
$500$475 -
$520$411 -
$590$502 -
$680$578 -
$580$458 -
$500$395 -
$580$458 -
$505揭秘 Angular 2
-
$780$616
相關主題
商品描述
How do successful agile teams deliver bug-free, maintainable software—iteration after iteration? The answer is: By seamlessly combining development and testing. On such teams, the developers write testable code that enables them to verify it using various types of automated tests. This approach keeps regressions at bay and prevents “testing crunches”—which otherwise may occur near the end of an iteration—from ever happening. Writing testable code, however, is often difficult, because it requires knowledge and skills that cut across multiple disciplines.
In Developer Testing, leading test expert and mentor Alexander Tarlinder presents concise, focused guidance for making new and legacy code far more testable. Tarlinder helps you answer questions like: When have I tested this enough? How many tests do I need to write? What should my tests verify? You’ll learn how to design for testability and utilize techniques like refactoring, dependency breaking, unit testing, data-driven testing, and test-driven development to achieve the highest possible confidence in your software. Through practical examples in Java, C#, Groovy, and Ruby, you’ll discover what works—and what doesn’t.
You can quickly begin using Tarlinder’s technology-agnostic insights with most languages and toolsets while not getting buried in specialist details. The author helps you adapt your current programming style for testability, make a testing mindset “second nature,” improve your code, and enrich your day-to-day experience as a software professional. With this guide, you will
- Understand the discipline and vocabulary of testing from the developer’s standpoint
- Base developer tests on well-established testing techniques and best practices
- Recognize code constructs that impact testability
- Effectively name, organize, and execute unit tests
- Master the essentials of classic and “mockist-style” TDD
- Leverage test doubles with or without mocking frameworks
- Capture the benefits of programming by contract, even without runtime support for contracts
- Take control of dependencies between classes, components, layers, and tiers
- Handle combinatorial explosions of test cases, or scenarios requiring many similar tests
- Manage code duplication when it can’t be eliminated
- Actively maintain and improve your test suites
- Perform more advanced tests at the integration, system, and end-to-end levels
- Develop an understanding for how the organizational context influences quality assurance
- Establish well-balanced and effective testing strategies suitable for agile teams
商品描述(中文翻譯)
成功的敏捷團隊如何在每個迭代中交付無錯誤、可維護的軟體?答案是:通過無縫結合開發和測試。在這樣的團隊中,開發人員編寫可測試的代碼,並使用各種類型的自動化測試來驗證它。這種方法可以防止回歸,並防止迭代結束時可能發生的「測試壓力」。然而,編寫可測試的代碼通常很困難,因為它需要跨越多個領域的知識和技能。
在《開發人員測試》一書中,領先的測試專家和導師亞歷山大·塔林德爾提供了簡明扼要的指導,幫助使新代碼和舊代碼更具測試性。塔林德爾幫助你回答以下問題:「我已經測試到足夠了嗎?我需要寫多少測試?我的測試應該驗證什麼?」你將學習如何設計可測試性,並利用重構、打破依賴、單元測試、數據驅動測試和測試驅動開發等技術,以實現對軟體的最高信心。通過Java、C#、Groovy和Ruby的實際示例,你將發現什麼有效,什麼無效。
你可以快速開始使用塔林德爾的技術不受限於特定語言和工具集,同時不會陷入專業細節。作者幫助你適應目前的編程風格以實現可測試性,使測試思維成為「第二天性」,改進你的代碼,豐富你作為軟體專業人員的日常經驗。通過這本指南,你將:
- 從開發人員的角度了解測試的紀律和詞彙
- 基於成熟的測試技術和最佳實踐來編寫開發人員測試
- 辨識影響測試性的代碼結構
- 有效命名、組織和執行單元測試
- 掌握傳統和「模擬風格」的測試驅動開發的基本要素
- 使用模擬框架或不使用模擬框架來利用測試替身
- 在沒有運行時支援的情況下,實現程式契約的好處
- 控制類、組件、層和層之間的依賴關係
- 處理測試用例的組合爆炸,或需要許多相似測試的情況
- 管理無法消除的代碼重複
- 積極維護和改進你的測試套件
- 在整合、系統和端到端層面上進行更高級的測試
- 瞭解組織背景如何影響質量保證
- 建立適合敏捷團隊的均衡有效的測試策略