Prig 1.0.0

Prig: Open Source Alternative to Microsoft Fakes

Prig(PRototyping jIG) is a framework that generates a Test Double like Microsoft Fakes/Typemock Isolator/Telerik JustMock based on Unmanaged Profiler APIs. This framework enables that any methods are replaced with mocks. For example, a static property, a private method, a non-virtual member and so on.

Install-Package Prig -Version 1.0.0
dotnet add package Prig --version 1.0.0
paket add Prig --version 1.0.0
The NuGet Team does not provide support for this client. Please contact its maintainers for support.

Release Notes

Version 1.0.0
* Release 1.
* Fixed #25: Default parameterized method can't call indirectly.

Version 0.0.0-alpha10
* Pre-release 10.
* Fixed #23: Can't be replaced the method that exposes the type of GAC unregistered assembly.
* Fixed #24: Add Comment-Based Help.
* Supported the feature that be able to replace any methods that have some non-public type in its signature.
* [NOTICE] Changed the generated stub's API. It became that the indirection stubs and proxies are generated ALWAYS(overwrite). Until now, it no longer generates stubs and proxies after it generated them once.

Version 0.0.0-alpha9
* Pre-release 9.
* Fixed #16: Nested Type can't be resolved in its indirection stub.
* Fixed #17: Prig can't uninstall correctly against the solution that contains multiple test projects.
* Fixed #18: `Get-IndirectionStubSetting` generates invalid alias against explict implemented interface.
* Fixed #19: `Find-IndirectionTarget` should filter the members that can't call indirectly by default.
* Fixed #20: Indirection stub settings for the instance method of an internal class generates build errors.

Version 0.0.0-alpha8
* Pre-release 8.
* Supported the feature to set default behavior.
* Modifying stub settings became a bit easier. The PowerShell command `Get-IndirectionStubSetting` supports generating unique name at the same time.
* Fixed #14: `Environment.GetFolderPath(SpecialFolder)` can't call indirectly.
* Fixed #15: `WebClient.DownloadStringTaskAsync` can't create indirection stub.

Version 0.0.0-alpha7
* Pre-release 7.
* Fixed #12: `.cctor()` can't replace with indirection stub.
* Fixed #13: TypeLoadException is occurred when trying to detour multiple assemblies.

About more previous versions, please see


This package has no dependencies.

Version History

Version Downloads Last updated
1.1.1 1,055 9/14/2015
1.1.0 370 12/31/2014
1.0.0 (current version) 476 11/16/2014
0.0.0-alpha9 194 9/28/2014
0.0.0-alpha8 183 9/15/2014
0.0.0-alpha7 176 8/14/2014
0.0.0-alpha6 165 8/8/2014
0.0.0-alpha5 169 7/31/2014
0.0.0-alpha4 170 7/27/2014
0.0.0-alpha3 176 7/16/2014
0.0.0-alpha2 172 6/21/2014
0.0.0-alpha10 416 11/3/2014
0.0.0-alpha1 202 6/15/2014