Skip to content
This repository has been archived by the owner on Nov 7, 2020. It is now read-only.

Requirements

Daniel Cazzulino edited this page Jul 8, 2013 · 5 revisions

These are the requirements for a new version of Moq, based on the experience and learning gathered over the years of its very successful previous versions.

  • Well-factored core ("Sdk") which an API/Syntax layer uses
  • Straightforward API extensions (simple extension methods)
  • Allow setups without using lambdas (i.e. mock.DoSomething().Returns(true))
  • Dynamic proxy generator agnostic (Castle DP supported, but we got requests to switch to others)
  • Rich introspection API to allow flexible rendering and diagnostics of mocks at runtime
  • Multi-platform support, as much as possible (notably missing today is WinRT/WP/MonoTouch/Mono for Android)
  • Thread-safe for multi-threaded target platforms
  • Continuous delivery of new versions via nuget
  • 100% of Moq4 features!

Nice to Have

  • Out of the box API extensions supporting other popular mocking libraries for migration purposes (i.e. Moq.Rhino, Moq.NSubstitute, etc.)
Clone this wiki locally