Using JMock with Test Driven Development
Using JMock with Test Driven Development
Submitted by webmaster@testdriven.com (Links) on Tue, 05/12/2006 - 15:45.Applying Mock objects effectively is a key factor when performing Test Driven Development (TDD). In this article I'll introduce the basics of using JMock, a Mock object framework, in conjunction with Test-Driven Development. To illustrate the technique I will work through a case study, the creation of a cache component by means of test-first development with JMock.
Author: Paolo Caroli
Published: TherServerSide, December 2006
Author: Paolo Caroli
Published: TherServerSide, December 2006
