2004 · 92 citations · 4 references
ComputingComputer ScienceDesignSoftware EngineeringSystems ProgrammingTest ConstructionApplication Programming InterfacesObject-oriented DesignObject-oriented ProgrammingSoftware ConstructionSoftware DesignSoftware TestingCode ModularityObject-oriented Design ModelsSystem TestingTest-driven Development
Mock Objects is an extension to Test-Driven Development that supports good Object-Oriented design by guiding the discovery of a coherent system of types within a code base. It turns out to be less interesting as a technique for isolating tests from third-party libraries than is widely thought. This paper describes the process of using Mock Objects with an extended example and reports best and worst practices gained from experience of applying the process. It also introduces jMock, a Java framework that embodies our collective experience.
4
A laboratory for teaching object oriented thinking
K. Beck, Ward Cunningham · ACM SIGPLAN Notices · 1989 · 364 citations
A laboratory for teaching object oriented thinking
K. Beck, Ward Cunningham · 1989 · 292 citations
Assuring good style for object-oriented programs
Karl Lieberherr, Ian M. Holland · IEEE Software · 1989 · 228 citations