Speeple News Search

Sign Up! | Tags | Domains | Statistics | Options | Advanced Search

Mocking and stubbing easier than ever with Moq 2.6

asp.net » 2008 » October » 13th » Mocking and stubbing easier than ever with Moq 2.6

I've just released a new version of Moq which contains a few bug fixes but two extremely useful features: recursive mocks and mocked default values. Recursive mocks Quite often you have a root mock object from which other mocks should "hang" through property accesses, such as HttpContextBase.Response: you want the response object returned to also be a mock. Setting such hierarchies before this Continue Reading »


Latest news from Daniel Cazzulino's Blog:

  1. PDC Essentials @ Buenos Aires
  2. XmlSerializerFactory caching issues and leaks
  3. Weird procedure to activate Windows 2008 from MSDN subscription
  4. How to use Windows 2008 on your laptop
  5. Automocking container with Moq

Latest news from asp.net:

  1. Windows 7 Developer Guide
  2. Live Framework Webcast!
  3. MSDN Office Developer Center: neue Inhalte
  4. MIX09 10K Smart Coding Challenge
  5. Running the Lightweight Test Automation Framework for ASP.NET from a separate application