AutoFixture是一个用于.NET的开源库,旨在最大限度地减少单元测试的“排列”阶段,以最大限度地提高可维护性。它的主要目标是让开发人员能够更容易地创建包含测试数据的对象图,从而让开发人员专注于正在测试的内容,而不是如何设置测试场景。
nsubstitute 开源项目推荐(102 个)
nsubstitute 话题在 GitHub 上没有填写简介,这里按 Star 数汇总最相关的热门仓库。
热门项目 前 20
按 Star 数排序展示前 20 个 · GitHub 共 102 个仓库Mocking Entity Framework Core operations such ToListAsync, FirstOrDefaultAsync etc. Author Raman Tsitou
Easy Mock wrapper for mocking EFCore5 DbContext and DbSet using Moq or NSubstitute
A generic model for using fakes and automocking on top of Machine.Specifications
ASP.Net MVC with Active Directory Authentication using Owin Middleware
Easy Mock wrapper for mocking EF6 DbContext and DbSet using Moq or NSubstitute
Zero-allocation, source-generated .NET mocking library. 34x faster than Moq with partial mocks, static mocking, fluent API, and async support.
Roslyn analysers for NSubstitute.
Autofixture auto-mocking for XUnit2 using a mocking library of your choice.
A sample project demonstrating Test-Driven Development (TDD) using .Net 8 and Vertical Slice Architecture based on Minimal APIs in .NET Core
A Discord bot that allows translations of messages in a Discord server (guild) using country flags and /translate command.
Equivalence based argument matcher for NSubstitute
Extension to NSubstitute that provides mocking of concrete methods and statics
a library for bridging between NSubstitute and FluentAssertions
This is my PET project — ASP.NET Core web APIs built as microservices. I used DDD, Clean Architecture CQRS and event-driven communication principles.
A console application to convert Moq in unit tests to NSubstitute
A Unity project template that contains installed and configured core official and popular third party packages to quickly start new projects.
As a companion to my blog series on .NET Mocking Frameworks and how they work, this repository attempts to implement the same unit tests with mocks using each of the major mocking frameworks available for .NET.
An auto-substitute/mock generating container that creates mocks using NSubstitute
Leaping Gorilla's testing framework for BDD style Given/When/Then without the ceremony
关于这个话题
- 清单按 Star 数挑选该话题下最热门的 20 个项目,对应的话题主页见 https://github.com/topics/nsubstitute。
- 该话题在 GitHub 上共有 102 个仓库, 这里呈现的是其中最具代表性的 20 个,不是全量列表。
- 星标与复刻数以 GitHub 上的实时数字为准。
- 当前 20 个项目累计 4906 Star,覆盖 1 种主要语言。
- 中文简介由本站编译整理,可点「查看原文」对照项目方提供的原始说明。