See the version list below for details.
Install-Package Prig -Version 0.0.0-alpha10
dotnet add package Prig --version 0.0.0-alpha10
<PackageReference Include="Prig" Version="0.0.0-alpha10" />
paket add Prig --version 0.0.0-alpha10
#r "nuget: Prig, 0.0.0-alpha10"
// Install Prig as a Cake Addin #addin nuget:?package=Prig&version=0.0.0-alpha10&prerelease // Install Prig as a Cake Tool #tool nuget:?package=Prig&version=0.0.0-alpha10&prerelease
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.
This package has no dependencies.
This package is not used by any NuGet packages.
GitHub repositories (1)
Showing the top 1 popular GitHub repositories that depend on Prig:
Prig is a lightweight framework for test indirections in .NET Framework.
* 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.
* 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.
* 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.
* Pre-release 7.
* Fixed #12: `.cctor()` can't replace with indirection stub.
* Fixed #13: TypeLoadException is occurred when trying to detour multiple assemblies.
* Pre-release 6.
* Improved performance replacing original methods to indirect methods. Due to change to cache IndirectionDelegates and to import infrastructure's improvements, this version is x1.5 - x2.0 faster than previous version.
* Pre-release 5.
* Fixed Issue #9: `Add-PrigAssembly -AssemblyFrom` went dead.
* Fixed Issue #10: `prig -p ConsoleApplication1.exe` went dead.
* Fixed Issue #11: In .NET 3.5, the assembly containing dynamic methods can't be called indirectly.
* Pre-release 4.
* Supported the feature to generate the stub for one runtime instance.
* [NOTICE] Changed the generated stub's API. It became a static method from a nested type. For example, until previous, the stub against `System.DateTime.Now` was `System.Prig.PDateTime.NowGet.Body`. From now, the stub becomes `System.Prig.PDateTime.NowGet().Body`. Because the previous version can't propagate an instance.
* Fixed Issue #6: Methods defined in `.exe` can't be called indirectly.
* Fixed Issue #7: Path to `tools` become unreachable from the Package Manager Console after building a project.
* Fixed Issue #8: Against the method that contains a nested type, indirection stub can't be created.
* Pre-release 3.
* Fixed Issue #3: Test is freezed when hijacking the method to add an event handler.
* Fixed Issue #4: Multiple Prig assemblies can't be added.
* Fixed Issue #5: Build was failed when adding Prig assembly for 3rd party library.
* Pre-release 2.
* In Add-PrigAssembly command, added the feature to enable that the full path to stubbing assembly is specified. This will allow that you can add Prig Assembly that is not registered to GAC.
* Added support for generating constraints of generic parameters automatically.
* Fixed Issue #1: BadImageFormatException occurred.
* Fixed Issue #2: Shall the name attribute be unique in the Stub Setting?
* Pre-release 1.
* Limited Support for NuGet.