NMock3

  •        71

NMock3 builds on the work of NMock2. Specifically it adds lambda expressions to the matcher syntax. You can use lambda expressions instead of strings, making refactoring possible. The idea of Syntactic Sugar is maintained in that all expectations read like an English sentence.

http://nmock3.codeplex.com/

Tags
Implementation
License
Platform

   




Related Projects

mockobjects - Examples for mock objects


Examples for mock objects

.NET MockObjects


The .NET Mock Objects project is a .NET framework whose goal is to facilitate developing unit tests in the mock object style.

mocked_fixtures - Rails plugin to reuse fixtures as mock model objects without any database overhead


Rails plugin to reuse fixtures as mock model objects without any database overhead

Python Mock Library


Mock object library for Python. This library enables the easy creation and use of Mock objects for Python unit testing. The Mock objects can contain expectations about how they are used, and can validate themselves against the class being mocked.

mockable_filesystem


Provides a FileSystem factory class for allocating File, Directory and Link objects, with two implementations - one which in turn returns the real objects from dart:io, and one which returns mock versions. This allows tests to be written that make use of files and directories without having to create them on disk. The mock File/Directory/Link classes are not complete, but have sufficient functionality to work in most cases. The ultimate aim is to have complete mock implementations, as well as the ability to mock Windows file systems on Linux/Mac and vice-versa, to help with testing code for cross-platform correctness.If your package is an application package you should use any as the version constraint.



pyspec


Behavior Driven Development Framework for Python. PySpec has following specialty. * Many kind of verification methods. * More concrete error messages. * Use decorators to define spec. * Data driven test(@data_provider). * Mock Objects included. * CUI & GUI spec runner(wxPython)

Mock Objects for ATG Dynamo


Mock Objects for ATG Dynamo defines mock objects that simulate services provided by the ATG Dynamo application server.

php-mock-objects-examples - Contains an example for working with PHPUnit's mock objects.


Contains an example for working with PHPUnit's mock objects.

mock-request-response - mock request and response objects for smarter testing


mock request and response objects for smarter testing

prime-mock - Mock objects for Prime testing


Mock objects for Prime testing

mockery


Mockery is a simple yet flexible PHP mock object framework for use in unit testing with PHPUnit, PHPSpec or any other testing framework. Its core goal is to offer a test double framework with a succint API capable of clearly defining all possible object operations and interactions using a human readable Domain Specific Language (DSL). Designed as a drop in alternative to PHPUnit's phpunit-mock-objects library, Mockery is easy to integrate with PHPUnit and can operate alongside phpunit-mock-objec

perl5-test-mock-apache2 - Mock modperl2 objects when running outside of Apache (e.g.: test suites)


Mock modperl2 objects when running outside of Apache (e.g.: test suites)

padraic-mockery


Mockery is a simple yet flexible PHP mock object framework for use in unit testing with PHPUnit, PHPSpec or any other testing framework. Its core goal is to offer a test double framework with a succint API capable of clearly defining all possible object operations and interactions using a human readable Domain Specific Language (DSL). Designed as a drop in alternative to PHPUnit's phpunit-mock-objects library, Mockery is easy to integrate with PHPUnit and can operate alongside phpunit-mock-objec

Model View Presenter (MVP) For Win Forms and ASP.NET Examples


Model-View-Presenter (MVP) is a great pattern for creating re-usable and testable applications whether it is for Windows Forms or for ASP.NET. You don’t need any DLL files at all to turn your project in to MVP project. You just need to follow some basic guidelines and rules.

Foq


Foq is a lightweight thread-safe mocking library for F#, C# & VB.Net. Use Foq to mock abstract classes and interfaces.

Pascal Mock


Mock object library for Delphi/Kylix/Free Pascal. This library enables the easy creation and use of Mock objects for unit testing. Independant of the unit testing framework.

XnaXaml


XnaXaml allows you to add a XAML file to your Content Pipeline in XNA and edit straight from Visual Studio. It then takes the XAML file and parses through it to create mock objects that can be used to render controls to the screen in XNA. These mock objects can also be used ...

mockolate - fake chocolate, mock objects and test spies for AS3


fake chocolate, mock objects and test spies for AS3

spooks.js - A small and simple library for creating unit test spies and mock objects in JavaScript.


A small and simple library for creating unit test spies and mock objects in JavaScript.