Test-Driven Development
Home > Computing and Information Technology > Computer programming / software engineering > Software Engineering > Test-Driven Development: A Practical Guide: A Practical Guide
Test-Driven Development: A Practical Guide: A Practical Guide

Test-Driven Development: A Practical Guide: A Practical Guide


     0     
5
4
3
2
1



Out of Stock


Notify me when this book is in stock
X
About the Book

This book teaches programmers how to make Test Driven Development (TDD) work in their organization. TDD is unique because it forces the programmer to write tests for code before the code is actually written. This process is the reverse of how software testing has traditionally been conducted, but TDD ensures that software is produced more efficiently. A test-first mentality allows the programmer to define, specify, illustrate, limit, and drive the code, resulting in documented, tested, code that is as simple and lean as possible. The book also presents tools and techniques, and all major points are supported by numerous examples (including an entire project, end-to-end) and exercises.

Table of Contents:
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.

About the Author :
Dave Astels has close to twenty years' experience as a software developer in areas ranging from embedded environment control to intellectual property protection systems to electrical energy trading systems. For more than a decade, he has been working exclusively with object technology. He runs his own consulting company specializing in Extreme Programming and pervasive Java solutions. He is the co-author of A Practical Guide to extreme Programming (ISBN 0130674826).


Best Sellers


Product Details
  • ISBN-13: 9780131016491
  • Publisher: Pearson Education (US)
  • Publisher Imprint: Prentice Hall
  • Height: 235 mm
  • No of Pages: 592
  • Sub Title: A Practical Guide: A Practical Guide
  • Width: 176 mm
  • ISBN-10: 0131016490
  • Publisher Date: 17 Jul 2003
  • Binding: Paperback
  • Language: English
  • Spine Width: 32 mm
  • Weight: 900 gr


Similar Products

Add Photo
Add Photo

Customer Reviews

REVIEWS      0     
Click Here To Be The First to Review this Product
Test-Driven Development: A Practical Guide: A Practical Guide
Pearson Education (US) -
Test-Driven Development: A Practical Guide: A Practical Guide
Writing guidlines
We want to publish your review, so please:
  • keep your review on the product. Review's that defame author's character will be rejected.
  • Keep your review focused on the product.
  • Avoid writing about customer service. contact us instead if you have issue requiring immediate attention.
  • Refrain from mentioning competitors or the specific price you paid for the product.
  • Do not include any personally identifiable information, such as full names.

Test-Driven Development: A Practical Guide: A Practical Guide

Required fields are marked with *

Review Title*
Review
    Add Photo Add up to 6 photos
    Would you recommend this product to a friend?
    Tag this Book Read more
    Does your review contain spoilers?
    What type of reader best describes you?
    I agree to the terms & conditions
    You may receive emails regarding this submission. Any emails will include the ability to opt-out of future communications.

    CUSTOMER RATINGS AND REVIEWS AND QUESTIONS AND ANSWERS TERMS OF USE

    These Terms of Use govern your conduct associated with the Customer Ratings and Reviews and/or Questions and Answers service offered by Bookswagon (the "CRR Service").


    By submitting any content to Bookswagon, you guarantee that:
    • You are the sole author and owner of the intellectual property rights in the content;
    • All "moral rights" that you may have in such content have been voluntarily waived by you;
    • All content that you post is accurate;
    • You are at least 13 years old;
    • Use of the content you supply does not violate these Terms of Use and will not cause injury to any person or entity.
    You further agree that you may not submit any content:
    • That is known by you to be false, inaccurate or misleading;
    • That infringes any third party's copyright, patent, trademark, trade secret or other proprietary rights or rights of publicity or privacy;
    • That violates any law, statute, ordinance or regulation (including, but not limited to, those governing, consumer protection, unfair competition, anti-discrimination or false advertising);
    • That is, or may reasonably be considered to be, defamatory, libelous, hateful, racially or religiously biased or offensive, unlawfully threatening or unlawfully harassing to any individual, partnership or corporation;
    • For which you were compensated or granted any consideration by any unapproved third party;
    • That includes any information that references other websites, addresses, email addresses, contact information or phone numbers;
    • That contains any computer viruses, worms or other potentially damaging computer programs or files.
    You agree to indemnify and hold Bookswagon (and its officers, directors, agents, subsidiaries, joint ventures, employees and third-party service providers, including but not limited to Bazaarvoice, Inc.), harmless from all claims, demands, and damages (actual and consequential) of every kind and nature, known and unknown including reasonable attorneys' fees, arising out of a breach of your representations and warranties set forth above, or your violation of any law or the rights of a third party.


    For any content that you submit, you grant Bookswagon a perpetual, irrevocable, royalty-free, transferable right and license to use, copy, modify, delete in its entirety, adapt, publish, translate, create derivative works from and/or sell, transfer, and/or distribute such content and/or incorporate such content into any form, medium or technology throughout the world without compensation to you. Additionally,  Bookswagon may transfer or share any personal information that you submit with its third-party service providers, including but not limited to Bazaarvoice, Inc. in accordance with  Privacy Policy


    All content that you submit may be used at Bookswagon's sole discretion. Bookswagon reserves the right to change, condense, withhold publication, remove or delete any content on Bookswagon's website that Bookswagon deems, in its sole discretion, to violate the content guidelines or any other provision of these Terms of Use.  Bookswagon does not guarantee that you will have any recourse through Bookswagon to edit or delete any content you have submitted. Ratings and written comments are generally posted within two to four business days. However, Bookswagon reserves the right to remove or to refuse to post any submission to the extent authorized by law. You acknowledge that you, not Bookswagon, are responsible for the contents of your submission. None of the content that you submit shall be subject to any obligation of confidence on the part of Bookswagon, its agents, subsidiaries, affiliates, partners or third party service providers (including but not limited to Bazaarvoice, Inc.)and their respective directors, officers and employees.

    Accept

    New Arrivals


    Inspired by your browsing history


    Your review has been submitted!

    You've already reviewed this product!