from Hacker News

Show HN: ZeroMock, a mocking framework for concrete classes (.NET 6)

by 0xcoffee on 11/2/22, 7:38 PM with 0 comments

ZeroMock is a mocking framework with syntax inspired by moq, for .NET 6

It supports mocking concrete classes, with no configuration/profiler required.

The goal is to reduce writing boilerplate interfaces just to make classes testable.

It does not support mocking interfaces, since moq already provides that functionality.

I hope others may also find this library useful. I just released v0.0.1, it is currently in alpha stage. I would avoid using it in production scenarios for now.