封面
版权页
Credits
About the Author
About the Reviewers
www.PacktPub.com
Support files eBooks discount offers and more
Preface
What this book covers
What you need for this book
Who this book is for
Conventions
Reader feedback
Customer support
Chapter 1. Exploring Test Doubles
Working with unit tests
Understanding test doubles
Using dummy objects
Working with stubs
Exploring a test spy
Getting started with mock objects
Implementing fake objects – simulators
Summary
Chapter 2. Socializing with Mockito
Exploring Mockito
Working with Mockito
Understanding the Mockito architecture
Summary
Chapter 3. Accelerating Mockito
Learning advanced Mockito features
Summary
Chapter 4. Behavior-driven Development with Mockito
Understanding the context of BDD
Exploring BDD
Exercising BDD with Mockito
Summary
Chapter 5. Unit Testing the Legacy Code with Mockito
Understanding the legacy code
Exploring testing impediments
Working with PowerMock
Designing for testability with Mockito
Summary
Chapter 6. Developing SOA with Mockito
Exploring Service-oriented Architecture (SOA)
Working with web services
Summary
Chapter 7. Unit Testing GWT Code with Mockito
Exploring Ajax and GWT
Learning the MVP pattern
Developing a GWT application using MVP
Unit testing the GWT code
Summary
Index
更新时间:2021-08-05 17:41:29