New Early adopter or innovator? InfoQ has been working on some new features for you. Learn more

Moq 3.0 Released

by Al Tenhundfeld on  Mar 10, 2009

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?

by Mike Bria on  Jan 22, 2009 6

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

by Abel Avram on  Dec 12, 2008

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.

Rhino Mocks - Lambda Edition

by Al Tenhundfeld on  Oct 07, 2008 4

Version 3.5 of the popular Rhino Mocks .NET mocking framework has been released. This version marks a major change in the API. A new 'Arrange, Act, Assert' syntax has been added as an alternative to the exiting 'Record-Replay' semantics. This syntax makes strong use of lambda expressions and extension methods, among other .NET 3.5 language enhancements.

Mockito 1.5 spies on plain objects

by Matthew Bass on  Sep 18, 2008 2

The latest release of the Mockito mocking framework enables spying on non-mock objects and introduces a cleaner stubbing syntax.

Moq .NET Mocking Library

by Al Tenhundfeld on  Aug 12, 2008

Moq is a mocking library for .NET designed and developed to utilize .NET 3.5 features, e.g., Linq expression trees and lambda expressions. Moq's goal is to be simple and straightforward, allowing a natural integration into existing unit tests, instead of forcing developers to rewrite tests or learn extensive Record/Replay mocking frameworks.

Presentation: Mock Roles Not Object States

by Abel Avram on  Aug 10, 2008

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.

When To Use Mock Objects?

by Mike Bria on  Jun 09, 2008 4

In his 'Ode To Code' K Scott Allen offers rational for the use of mock objects when unit testing and discusses his thoughts on the use of mock object frameworks.

Mocking Web Services

by Boris Lublinsky on  May 10, 2008 1

Service simulation (mocking) – the ability to mimic service behavior even before they are implemented - enables service consumer developers and testers to parallelize their efforts without having to wait for service implementation to complete. Service simulation also provides a light-weight alternative to building expensive reference environments.

Interview: Attila Szegedi Discusses Rhino

by Ryan Slobojan on  Apr 16, 2008 3

In this interview, Attila Szegedi discusses the Rhino JavaScript engine. Topics covered include the implementation of Rhino, Rhino's featureset, continuations, usage patterns for embedding Rhino, running JavaScript on the server, scripting capabilities for Rhino, JavaScript versus Ruby, JavaScript on Rails, and future plans for Rhino.

Further Insights into Rhino on Rails

by Nick Laiacona on  Feb 10, 2008

Dion Almaer has published a podcast of his interview with Steve Yegge, the creator of Rhino on Rails. Rhino on Rails is a Javascript port of the popular Ruby on Rails framework. It is currently under active development for internal use at Google. Steve Yegge and his team hope to make Rhino on Rails open source this summer.

Boost your Java Test with Ruby and JtestR

by Sebastien Auvray on  Jan 07, 2008

The ease of Ruby for scripting tasks makes it a very powerful candidate for writing your Test suites. Until recently there was no real standalone framework to test your Java with Ruby. JtestR, written by Ola Blini (a member of JRuby team) and Anda Abramovici, makes it possible now. Ruby coupled with powerful Ruby tools such as RSpec, mocha will make writing Java tests smoother.

Does Dependency Injection pay off?

by Niclas Nilsson on  Dec 08, 2007 23

There has been an interesting discussion in the blogosphere about the benefits or lack of benefits from using Dependency Injection. The question is — does Dependency Injection really pay off?

Article: Iterative, Automated and Continuous Performance

by Scott Delap on  Nov 21, 2007 2

A new InfoQ article looks at evaluating performance in an iterative and continuous manner.

Rhino Mocks 3.3 is Ready

by Robert Bazinet on  Oct 25, 2007

The latest version of the very popular mocking framework, Rhino Mocks version 3.3 is complete and ready to be used by your tests. This release provides many new features including Remoting Proxies and more.