WP-Fx.EasyMoq 1.1.1

EasyMoq is a small and free mocking framework for any kind of project. It is built as a portable class library and uses T4-templating to generate mocks. This makes it a perfect choice for mocking on WP- or WinRT-platform, since there is a lack of dynamic proxy creation.

Install-Package WP-Fx.EasyMoq -Version 1.1.1
dotnet add package WP-Fx.EasyMoq --version 1.1.1
<PackageReference Include="WP-Fx.EasyMoq" Version="1.1.1" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add WP-Fx.EasyMoq --version 1.1.1
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
#r "nuget: WP-Fx.EasyMoq, 1.1.1"
#r directive can be used in F# Interactive, C# scripting and .NET Interactive. Copy this into the interactive tool or source code of the script to reference the package.
// Install WP-Fx.EasyMoq as a Cake Addin
#addin nuget:?package=WP-Fx.EasyMoq&version=1.1.1

// Install WP-Fx.EasyMoq as a Cake Tool
#tool nuget:?package=WP-Fx.EasyMoq&version=1.1.1
The NuGet Team does not provide support for this client. Please contact its maintainers for support.

Release Notes

This is the first release and therefore it may not be perfect. But I am using it in my bachelor thesis and this means there will be updates for functionality that ain't work as it should or is missed at the moment.
Currently, interface-mocking is the only supported feature.
If you miss functionality, feel free to give me feedback.

- Added event support for WinRT apps.
- Fixed issue with usage of members in verification.

- Enabled raising events on methods, properties and objects.
- Changed generated mockables to include namespace on all types.
- Members in setups and verifications are now accepted.
- Conditions include feedback and boundaries in the thrown exception.

- Mocking internal interfaces is now possible

1.0.7 and earlier
- Minor and major fixes in template to generate compilable code.


This package has no dependencies.

NuGet packages

This package is not used by any NuGet packages.

GitHub repositories

This package is not used by any popular GitHub repositories.

Version History

Version Downloads Last updated
1.1.1 1,785 5/1/2013
1.1.0 679 5/1/2013
1.0.8 727 3/19/2013
1.0.7 701 3/18/2013
1.0.6 686 3/18/2013
1.0.5 712 3/17/2013
1.0.4 679 3/16/2013
1.0.3 704 3/15/2013
1.0.2 696 3/15/2013
1.0.1 755 3/15/2013
1.0.0 711 3/15/2013