There are 0 repository under nsubstitute topic.
AutoFixture is an open source library for .NET designed to minimize the 'Arrange' phase of your unit tests in order to maximize maintainability. Its primary goal is to allow developers to focus on what is being tested rather than how to setup the test scenario, by making it easier to create object graphs containing test data.
Mocking Entity Framework Core operations such ToListAsync, FirstOrDefaultAsync etc
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
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
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
This is an exercice to learn how to write code in BDD mode. It's also a way to explore specflow's most imporant features
FluentArrange lets you write clean Arrange code in your unit tests, and automatically creates mocked dependencies for you
Leaping Gorilla's testing framework for BDD style Given/When/Then without the ceremony
Helpers for .net mocking frameworks
Verify NSubstitute Received() calls using FluentAssertions
Solutions to common job interview questions about algorithms and design patterns.
Using various hosting ways in order to setup a web api
Companion project to https://youtu.be/xSa2S-W7x48
REST API in C# utilizing ASP .NET Core with Dapper
This repository contains a Minimal API (CRUD) with .NET 6 as a practise project with tests.
An ASP.NET and React-based e-university platform with a 3-layered architecture. Powered by Entity Framework with SQL Server and Duende Identity Server. Accessible for administrators, teachers, and students.
Template for .NET 9 to integrate with many providers using many flows
A seed project for C# katas making use of nunit and nsubstitute
A Roguelike coded in C# using Monogame (a very-Alpha work in progress)
Shared Password Manager based on .NET 8
Library to mocking gRPC client. Instead of Grpc.Core.Testing using extensions for NSubstitute
C# .NET Core pet-project — Microservices, RabbitMQ, SQL Server, EF Core, Docker Ocelot, Swagger, Redis, API Versioning, Unit testing (xUnit, Moq, NSubstitute).
This repository contains examples showing how to unit test an API (WebAPI 6/7)