Live briefing
Everything about Mock object
Software object that mimics a real object
In computer programming, a mock object is an object that imitates a production object in limited ways. A programmer might use a mock object as a test double for software testing. A mock object can also be used in generic programming. Wikipedia →
🧭 Start here: a 6-step reading path
- Read the overview: Mock objectA 5-minute orientation
- Pick up a classic book: Head first servlets & JSPThe most-reprinted book on the subject
- Read the landmark paper: Mock objectsCited 35 times
- Go sideways: Test doubleA closely related topic
- Go sideways: Test-driven developmentA closely related topic
📖 Definitions
Noun An object that mimics the behavior of a real object in a controlled way, often used as part of unit testing.
🗂️ The subject at a glance
🏆 Landmark papers (most cited)
Mock objects
STATICMOCK : A Mock Object Framework for Compiled Languages
A Method of Integration Testing for Federation using Mock Object Patterns
Distributed Collaborative Modeling and Simulation of Performance Mock-up for Object-oriented Petri net
DOMAIN-SPECIFIC LANGUAGE FOR INTELLIGENT TESTING OF MICROSERVICE SOFTWARE SYSTEMS BASED ON MOCK-OBJECT TECHNOLOGY
📚 Books worth reading
Head first servlets & JSPBryan Basham, Bert Bates · 2004
The Conspirators HierarchyJohn Coleman · 1992
Why programs failAndreas Zeller · 2005
Pragmatic unit testingAndy Hunt, Dave Thomas · 2004
History of the Filipino PeopleTeodoro A. Agoncillo · 1969
Concurrency in dependable computingP. Ezhilchelvan · 2002
The creed explainedDevine, Arthur · 1897
The Life And Writings Of St. JohnJames M. MacDonald · 1880
Ranked by number of editions on Open Library, a rough measure of how lasting a book is.
🔗 Related topics
- Test double A test double is software used in software test automation that satisfies a dependency so that the test need not depend on production code. A test double…
- Test-driven development Test-driven development (TDD) is a way to write source code that involves writing an automated unit-level test case that fails, then writing just enough…
- Bogus (Ruby) Bogus is a Ruby API library used for minimizing risks involved in isolated unit testing. It was initially released in July 2012 by rubygems.org. Through…
- Extreme programming practices Extreme programming (XP) is an agile software development methodology used to implement software systems. This article details the practices used in this…
- Method stub A method stub is a short and simple placeholder for a method that is not yet written for production needs. Generally, a method stub contains just enough…
- Interface (computing) In computing, an interface is a shared boundary across which two or more separate components of a computer system exchange information. The exchange can…
- Unit testing Unit testing, also known as component or module testing, is a form of software testing by which isolated source code is tested to validate expected behavior…
- Behavior-driven development Behavior-driven development (BDD) is an agile software development method centered around collaboration between business and IT professionals that have…