Unit Testing in Java: How Tests Drive the Code (The Morgan Kaufmann Series in Software Engineering and Programming)

Unit Testing in Java: How Tests Drive the Code
by Johannes Link and Peter Frohlich ISBN:1558608680
Morgan Kaufmann Publishers 2003 (325 pages)

This is a practical introduction to using automated unit tests and the test-first approach in your day-to-day software development. The author gives clear guidance on how to make tests work for you, and shows how test-driven development works in practice.

Table of Contents
Unit Testing in Java—How Tests Drive the Code
Foreword
Foreword
Preface
Part I - Basic Techniques
Chapter 1 - Introduction
Chapter 2 - Automating Unit Tests
Chapter 3 - Basic Steps of the Test-First Approach
Chapter 4 - Test Ideas and Heuristics
Chapter 5 - The Inner Life of a Test Framework
Chapter 6 - Dummy and Mock Objects for Independence
Chapter 7 - Inheritance and Polymorphism
Chapter 8 - How Much is Enough?
Part II - Advanced Topics
Chapter 9 - Persistent Objects
Chapter 10 - Concurrent Programs
Chapter 11 - Distributed Applications
Chapter 12 - Web Applications
Chapter 13 - Graphical User Interfaces
Chapter 14 - The Role of Unit Tests in the Software Process
Chapter 15 - Loose Ends and Opportunities
Part III - Appendices
Appendix A - Notes to JUnit
Appendix B - Unit Tests with Other Programming Languages
Glossary
Bibliography and List of References
Index
List of Figures
List of Tables

Категории