jMock: supporting responsibility-based design with mock objects
S Freeman, T Mackinnon, N Pryce… - Companion to the 19th …, 2004 - dl.acm.org
S Freeman, T Mackinnon, N Pryce, J Walnes
Companion to the 19th annual ACM SIGPLAN conference on Object-oriented …, 2004•dl.acm.orgIn this demonstration we will show the flow of the Mock Object development process by pair-
programming to develop a code example. During the session, we will introduce the
declarative jMock API and show how we use it to describe relationships between objects
when developing test-first. We will show how this approach helps developers concentrate on
real requirements and how it encourages a design in which objects are focused with well-
defined responsibilities. We will also show our practices for maintaining the readability of …
programming to develop a code example. During the session, we will introduce the
declarative jMock API and show how we use it to describe relationships between objects
when developing test-first. We will show how this approach helps developers concentrate on
real requirements and how it encourages a design in which objects are focused with well-
defined responsibilities. We will also show our practices for maintaining the readability of …
In this demonstration we will show the flow of the Mock Object development process by pair-programming to develop a code example. During the session, we will introduce the declarative jMock API and show how we use it to describe relationships between objects when developing test-first. We will show how this approach helps developers concentrate on real requirements and how it encourages a design in which objects are focused with well-defined responsibilities. We will also show our practices for maintaining the readability of tests written using jUnit with jMock. This work is described in a Practitioner Report at this conference, "Mock Roles, Not Objects".
ACM Digital Library
Showing the best result for this search. See all results