Tag: Feature Slice
All the articles with the tag "Feature Slice".
-
C# Feature Slice 测试策略:单元测试、集成测试与边界划分
Published: at 12:28 PMFeature-sliced 架构的核心优势之一是让测试变得清晰:Handler 是天然的单元测试边界,WebApplicationFactory 覆盖 HTTP 管道。本文介绍针对 .NET Feature Slice 应用的完整测试策略,包括 Handler 单元测试、集成测试搭建、验证逻辑测试和 Testcontainers 使用方式。