注冊(cè) | 登錄讀書(shū)好,好讀書(shū),讀好書(shū)!
讀書(shū)網(wǎng)-DuShu.com
當(dāng)前位置: 首頁(yè)出版圖書(shū)科學(xué)技術(shù)計(jì)算機(jī)/網(wǎng)絡(luò)軟件與程序設(shè)計(jì)程序設(shè)計(jì)綜合測(cè)試驅(qū)動(dòng)開(kāi)發(fā)實(shí)用指南(影印版)

測(cè)試驅(qū)動(dòng)開(kāi)發(fā)實(shí)用指南(影印版)

測(cè)試驅(qū)動(dòng)開(kāi)發(fā)實(shí)用指南(影印版)

定 價(jià):¥58.00

作 者: (美)艾斯特爾斯 著
出版社: 中國(guó)電力出版社
叢編項(xiàng): 原版風(fēng)暴系列
標(biāo) 簽: 高級(jí)程序語(yǔ)言設(shè)計(jì)

ISBN: 9787508321936 出版時(shí)間: 2004-05-01 包裝: 膠版紙
開(kāi)本: 16 頁(yè)數(shù): 592 字?jǐn)?shù):  

內(nèi)容簡(jiǎn)介

  讓測(cè)試驅(qū)動(dòng)開(kāi)發(fā)(TDD)為你工作!本書(shū)將使開(kāi)發(fā)人員編寫(xiě)的軟件更簡(jiǎn)單、更干凈、更可靠……一句話(huà):更優(yōu)秀!這本TDD的指南重點(diǎn)關(guān)注真實(shí)的項(xiàng)目、真實(shí)的開(kāi)發(fā)人員、真實(shí)的實(shí)現(xiàn)問(wèn)題以及真實(shí)的代碼!著名的敏感捷開(kāi)發(fā)專(zhuān)家David Astels通過(guò)使用Java和JUnit測(cè)試框架從頭開(kāi)始創(chuàng)建了一個(gè)項(xiàng)目,向你展示了TDD的精妙之處。你將深刻理解什么是“測(cè)試為先”、它的工作機(jī)理、其中的困難以及如何將TDD的諾言付諸實(shí)踐。· 最具實(shí)用性!書(shū)中遍布了可下載的示例代碼、練習(xí)題以及網(wǎng)上資源鏈接· 介紹強(qiáng)大的TDD工具和技術(shù)——包括關(guān)鍵的JUnit擴(kuò)展,相關(guān)內(nèi)容由它們的創(chuàng)建者(Scott Ambler、Time Bacon、Mike Bowler、Mike Clark、Bryan Dollery、James Newkirk、Bob Payne、Kay Pentacost和Jens Uwe Pipka)撰寫(xiě)·涵蓋重構(gòu)、意圖編程(programming by Intention)、模擬對(duì)象(mock object)及更多內(nèi)容· 討論了針對(duì)C++、C#/.NET、VB6、Python、Ruby和Smalltalk的TDD框架· 介紹了以前未發(fā)表過(guò)的關(guān)于GUI軟件的測(cè)試為先(test-first)技術(shù)· 附錄介紹了極限編程和敏捷建模的基本知識(shí)· 面向所有程序員及項(xiàng)目經(jīng)理

作者簡(jiǎn)介

  DavidAstels:早在1985年就開(kāi)始編寫(xiě)軟件,涉及領(lǐng)域從嵌入式環(huán)境控制到知識(shí)產(chǎn)權(quán)保護(hù)系統(tǒng),直到電能交易系統(tǒng)。他創(chuàng)建了Adaption軟件公司(www.adaptionsoft.com),主要提供極限編程(XP)和軟件工藝(SoftwareCraftsmanship)方面的有關(guān)咨詢(xún)、培訓(xùn)、指導(dǎo)和編程服務(wù)。他編輯了TheCoadLette的TDD版本,并且在極限編程和敏感捷過(guò)程的發(fā)展中起到了重要作用。同時(shí),他也是《APracticalGuidetoeXtremeProgramming》的作者之一。

圖書(shū)目錄

Foreword. 
Preface. 
I. BACKGROUND. 
1. Test-Driven Development. 
What Is Test-Driven Development? Let the Computer Tell You. A Quick Example. Summary. 
2. Refactoring. 
What Is Refactoring? When to Refactor. How to Refactor. Some Important Refactorings. Refactoring to Patterns. Summary. 
3. Programming By Intention. 
Names. Simplicity. Warranted Assumptions. How to Program by Intention. “No Comment”. Summary. 
II. TOOLS AND TECHNIQUES. 
4. JUNIT. 
Architectural Overview. The Assertions. Writing a TestCase. Running Your Tests. Using setUp() and tearDown(). Using TestSuite. How Does It All Fit Together? Where Do Tests Belong? Tips. Summary. 
5. JUNITEXTENSIONS. 
Standard Extensions. Adding Missing Asserts with MockObjects. Performance and Scalability with JUnitPerf. Daedalos JUnit Extensions. Writing XML-Based Tests with xmlUnit. Gargoyle Software JUnit Extensions. 
6. JUNIT-Related Tools. 
Jester. NoUnit. Clover. Eclipse. IDEA. 
7. MockObjects. 
Mock Objects. An Illustrative Example. Uses for Mock Objects. Wouldn't It Be Nice? A Common Example. The MockObjects Framework. MockMaker. EasyMock. Summary. 
8. Developing a GUI Test-First. 
The Example. The AWT Robot. Brute Force. JFCUnit. Jemmy. Ultra-Thin GUI. Summary. 
III. A JAVA PROJECT: TEST-DRIVEN END TO END. 
9. THEPROJECT. 
Overview. User Stories and Tasks. 
10. Movie List. 
Make a Movie Container. Make a Movie List GUI. Add a Movie in the GUI. Retrospective. 
11. Movies Can Be Renamed. 
Support Movie Name Editing. Movie Rename GUI. Retrospective. 
12. Movies Are Unique. 
Movies Are Unique. Error Message on Non-Uniqueness. Retrospective. 
13. Ratings. 
Add a Single Rating to Movie. Show the Rating in the GUI. Edit the Rating. Retrospective. 
14. Categories. 
Add a Category. Show the Category in the GUI. Add a Selection of Category. Retrospective. 
15. Filter On Category. 
Get a Sublist Based on Category. Support an ALL category. Add a Category Selector to the GUI. Handle Changing a Movie's Category. Interface Cleanup. Retrospective. 
16. Persistence. 
Write to a Flat File. Save-As in GUI. Save in GUI. Read from a Flat File. Load in GUI. Retrospective. 
17. Sorting. 
Compare Movies. Sort a MovieList. Ask a MovieListEditor for Sorted Lists. Add a Way to Sort to the GUI. Retrospective. 
18. Multiple Ratings. 
Multiple Ratings. Rating Source. Revised Persistence. Show Multiple Ratings in the GUI. Add a Rating in the GUI. Remove the Single-Rating Field. Retrospective. 
19. Reviews. 
Add a Review to Ratings. Save Review. Load Review. Display Review. Add a Review. Retrospective. 
20. Project Retrospective. 
The Design. Test vs Application. Test Quality. Our Use of Mocks. General Comments. Debugging. List of Tests. Summary. 
IV. XUNIT FAMILY MEMBERS. 
21. RUBYUNIT. 
22. SUNIT. 
23. CPPUNIT. 
24. NUNIT. 
25. PYUNIT. 
26. VBUNIT. 
V. APPENDICES. 
Appendix A: Extreme Programming. 
The Agile Revolution. eXtreme Programming. The Four Variables. The Values. The Practices. Summary. 
Appendix B: Agilemodeling. 
The Myths Surrounding Modeling. An Introduction to Agile Modeling (AM). What Are Agile Models? 
Appendix C: Online Resources. 
Forums. Information on Agile Processes. Information on Extreme Programming. JUnit-Related Software. JUnit-Related Information. Tools. Other XUnit Family Members. Companies. Miscellaneous. 
Appendix D: Answers To Exercises. 
Bibliography. 
Index. 

本目錄推薦

掃描二維碼
Copyright ? 讀書(shū)網(wǎng) hotzeplotz.com 2005-2020, All Rights Reserved.
鄂ICP備15019699號(hào) 鄂公網(wǎng)安備 42010302001612號(hào)