Skip to content

Latest commit

 

History

History
37 lines (30 loc) · 3.04 KB

File metadata and controls

37 lines (30 loc) · 3.04 KB
Clean Architecture Toolkit for .NET
Clean Architecture Toolkit is a clean, modular architecture foundation for .NET applications.
It embraces SOLID principles and focuses on maintainability, testability, and scalability through clear boundaries and pluggable design.

|   HOME   |   REPO OVERVIEW   |   DEMO   |   CAT.UNITTESTING   |

Code Reference

Cat.UnitTesting.NUnit Namespace

Helpers for NUnit tests: a base class that builds a service provider, and a recorder for decorator calls.

Classes
RecordedDecorator One recorded call of AddDecorator(Type, Type, int, ICatDecoratorParameter[]).
RecordingDecoratorBuilder An ICatDecoratorFactoryBuilder that only records the calls, so a test can check which decorator a module adds and with which order.
UnitTestBase Base class for a test fixture that needs a service provider. It builds the provider once per fixture from ConfigureServices(ServiceCollection) and disposes it after the last test.