
Testing
Get flash to fully experience Pearltrees
Yet Another Lambda Blog » Code testing in Haskell
Rhino Mocks 3.5 introduces some new concepts, mostly by building upon the language features of C# 3.0. Users on the 2.0 platform need not worry, there are enough goodies for them as well (inline constraints, for example), but the focus of this document is on the use of Rhino Mocks with C# 3.0. Edit New things in Rhino Mocks 3.5: Arrange, Act, Assert model Lambda and C# 3.0 extensions Inline constraints Property Setters Explicit Expectation API Support for mocking interface in C++ that mix native and managed types. Allow a mock object to return to record mode without losing its expectations CreateMock was deprecated in favor of StrictMock Better error handling in edge cases.
Rhino Mocks 3.5 - Ayende @ Wiki
Rhino Mocks is the most popular Mock Object Framework for .NET. The purpose of this blog entry is to provide a brief introduction to Rhino Mocks. In particular, I want to describe how you can use Rhino Mocks when building ASP.NET MVC web applications. In the first part of this entry, I explain why Mock Object Frameworks are critical tools when performing Test-Driven Development. Next, I discuss how you can use Rhino Mocks to create both state verification unit tests and behavior verification unit tests.

