文档介绍:don't be afraid of buying books Next
Test-Driven Development: A Practical Guide
By David Astels
Publisher: Prentice Hall PTR
Pub Date: July 02, 2003
ISBN: 0-13-101649-0
Table of Pages: 592
•
Contents
• Index
Test-Driven Development: A Practical Guide presents TDD from the perspective of the working programmer: real
projects, real challenges, real solutions, ...real code. Dave Astels explains TDD through a start-to-finish project
written in Java and using JUnit. He introduces powerful TDD tools and techniques; shows how to utilize
refactoring, mock objects, and "programming by intention"; even introduces TDD frameworks for C++, C#/.NET,
Python, VB6, Ruby, and Smalltalk. Invaluable for anyone who wants to write better code... and have more fun
doing it!
Amazon
Prev don't be afraid of buying books Next
Test-Driven Development: A Practical Guide
By David Astels
Publisher: Prentice Hall PTR
Pub Date: July 02, 2003
ISBN: 0-13-101649-0
Table of Pages: 592
•
Contents
• Index
Copyright
The Coad Series
About the Series
About the Series Editor
FOREWORD
PREFACE
EXTREME PROGRAMMING
WHO SHOULD READ THIS BOOK?
THE STRUCTURE OF THIS BOOK
CONVENTIONS USED IN THIS BOOK
ACKNOWLEDGEMENTS
Part I. BACKGROUND
Chapter 1. TEST-DRIVEN DEVELOPMENT
WHAT IS TEST-DRIVEN DEVELOPMENT?
LET PUTER TELL YOU
A QUICK EXAMPLE
SUMMARY
Chapter 2. REFACTORING
WHAT IS REFACTORING?
WHEN TO REFACTOR
HOW TO REFACTOR
SOME IMPORTANT REFACTORINGS
REFACTORING TO PATTERNS
SUMMARY
Chapter 3. PROGRAMMING BY INTENTION
NAMES
SIMPLICITY
WARRANTED ASSUMPTIONS
HOW TO PROGRAM BY INTENTION
"MENT"
SUMMARY
Part II. TOOLS AND TECHNIQUES
Chapter 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
Chapter 5. JUNIT EXTENSIONS
STANDARD EXTENSIONS