Skip to content
| Marketplace
Sign in
Visual Studio>Tools>Prig - Open Source Alternative to Microsoft Fakes
Prig - Open Source Alternative to Microsoft Fakes

Prig - Open Source Alternative to Microsoft Fakes

sug

|
2,557 installs
| (2) | Free
Prig is a lightweight framework for test indirections in .NET Framework. 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.
Download

Prig(PRototyping jIG) is a framework that generates a Test Double like Microsoft Fakes/Typemock Isolator/Telerik JustMock based on Unmanaged Profiler APIs.

For example, there is a method that has tight coupling with DateTime.Now like the below: 

 

You can write the test like this: 

 

For complete procedure, please see QUICK TOUR. 

About another technique, API reference, and migration from other libraries, please see our Wiki. 
  • Contact us
  • Jobs
  • Privacy
  • Manage cookies
  • Terms of use
  • Trademarks
© 2025 Microsoft