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.
|