i am required to quickly learn a mocking framework that allows mocking static methods and write test cases for an application written in C#. which framework would you recommend?
You can do it using the following frameworks:
Example of faking a static method using Isolator:
Isolate.WhenCalled(() => MyClass.MethodReturningZero()).WillReturn(1);
Disclaimer - I work at Typemock
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With