InfoQ

InfoQ

Topic/Tag specific view

Mocks Content on InfoQ


Latest featured content about Mocks

Mock Roles Not Object States

Topics
Agile,
Agile Techniques,
Design,
Software Testing

In this presentation filmed during QCon London 2007, Nat Pryce and Steve Freeman talk about TDD using Mock Objects. In their opinion, Mock Objects improves the software design and makes the code more easier to maintain and adapt to changing requirements.

News about Mocks

System/Acceptance Testing with Time and Dates

Topics
Agile,
Agile Techniques,
Tools,
Architecture

Unit Testing Time and Dates is an often talked about problem with relatively simple solutions. More difficult is the acceptance/system testing with Time. What strategies are used?

J.B. Rainsberger: "Integration Tests Are A Scam"

Topics
Delivering Quality,
Agile,
Java,
.NET,
Unit Testing,
Ruby

Well-known agilist and TDD expert J.B. Rainsberger has begun a series of posts to explain why his experience has led him to the thought-provoking conclusion that "integration tests are a scam".

Moq 3.0 Released

Topics
Unit Testing,
Open Source,
.NET

Version 3.0 RTM of the popular Moq .NET mocking library is now available. Moq 3.0 includes Silverlight support, improved event and property mocking, Pex integration, and improved samples.

"Classic" versus "Mockist" TDD, Distinction Real?

Topics
Software Craftsmanship,
Agile,
Unit Testing,
Software Testing

Hot in the TDD Yahoo group is a discussion concerning the perceived continuum between the "Classic" and "Mockist" TDD. Steve Freeman, Nat Pryce, Michael Feathers, Dale Emery, and many more discuss terminology and describe their approaches. The discussion also debates whether there even really exists such a continuum, and if so, what distinguishes the approaches that represent it's extremes?

Google Has Open-Sourced Their C++ Mocking Framework

Topics
Artifacts & Tools,
Java,
.NET

After open-sourcing their C++ Test Framework a few months ago, Google has just open-sourced the Google C++ Mocking Framework (Google Mock) under the BSD license.

Articles about Mocks

Drinking your Guice too quickly?

Topics
Programming,
Architecture,
Design

Dependency Injection has been around for a while, and many teams are refactoring their applications to use DI. But it can be a struggle. In this article, Paul Hammant explains the route to take to move an existing application from a nest-of-singletons design to a full fledged DI design.

Iterative, Automated and Continuous Performance

Topics
Agile,
Java,
Unit Testing,
Architecture,
Performance & Scalability

Iterative and continuous are terms that are often used in reference to testing of software. This new InfoQ article takes a look at whether the same concepts can be applied to performance tuning. Along the way topics such as tooling and mocks are discuss in regards to how they need to be adjusted for performance in respect to testing for functional requirements.

Interviews about Mocks

Jim Weirich Discusses Rake, the Ruby Make Tool

Topics
Domain Specific Languages,
Build systems,
Ruby

Jim Weirich, is the Chief Scientist for EdgeCase LLC and thecreator of rake, the popular make-like build tool written in Ruby. In this interview with InfoQ, Jim disccusses the birth of rake, Domain Specific Languages, and flexmock, his mocking library.