Prig 0.0.0-alpha10

This is a prerelease version of Prig.
There is a newer version of this package available.
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" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add Prig --version 0.0.0-alpha10
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
#r "nuget: Prig, 0.0.0-alpha10"
#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 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
The NuGet Team does not provide support for this client. Please contact its maintainers for support.

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.

NuGet packages

This package is not used by any NuGet packages.

GitHub repositories (1)

Showing the top 1 popular GitHub repositories that depend on Prig:

Repository Stars
urasandesu/Prig
Prig is a lightweight framework for test indirections in .NET Framework.
Version Downloads Last updated
1.1.1 5,285 9/14/2015
1.1.0 905 12/31/2014
1.0.0 1,071 11/16/2014
0.0.0-alpha9 707 9/28/2014
0.0.0-alpha8 708 9/15/2014
0.0.0-alpha7 700 8/14/2014
0.0.0-alpha6 715 8/8/2014
0.0.0-alpha5 699 7/31/2014
0.0.0-alpha4 707 7/27/2014
0.0.0-alpha3 691 7/16/2014
0.0.0-alpha2 684 6/21/2014
0.0.0-alpha10 967 11/3/2014
0.0.0-alpha1 753 6/15/2014

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.


Version 0.0.0-alpha6
* 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.


Version 0.0.0-alpha5
* 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.


Version 0.0.0-alpha4
* 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.


Version 0.0.0-alpha3
* 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.


Version 0.0.0-alpha2
* 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?


Version 0.0.0-alpha1
* Pre-release 1.
* Limited Support for NuGet.