Anyone use Prig / Telerik for Unit Test Fakes against .NET Framework 4.7? Looking for input / ideas.

0 Answers 58 Views
PivotGrid
Jack
Top achievements
Rank 1
Jack asked on 09 Dec 2021, 06:04 AM | edited on 13 Dec 2021, 04:35 AM

Hi

I've explored the use of Moq. I found it useful, except for the fact that it relies heavily on code style that uses dependency injection. As I'm working on some existing legacy code, it can become quite the refactoring effort. The code base also includes some assembly references that could not be addressed via Moq.

Microsoft Fakes worked great IMHO. The only downside I saw was the requirement of VS Enterprise 2019. I'm not sure if I can get my employer to pay for the $5k/yr/developer. I really liked the ability to generate fakes on an assembly directly within VS.

Telerik's solution looks equally expensive. I've yet to explore it. Fakes, Stubs, and Mocks (telerik.com)

Prig looks viable, but looks like a pain to setup with powershell scripts, omegle etc.

Thanks

No answers yet. Maybe you can help?

Tags
PivotGrid
Asked by
Jack
Top achievements
Rank 1
Share this question
or