🚀 Ready to master unit testing in .NET? Learn how to use #xUnit, #NSubstitute, and #AutoFixture in this step-by-step guide with HangfireDemoApi. From mocking to background tasks, we’ve got you covered!
Read more 👉 https://wp.me/p29SK-Wy
#UnitTesting #DotNet #developers
Advanced Unit Testing in .NET with xUnit, NSubstitute, and AutoFixture: A Deep Dive into my HangfireDemoApi

Introduction In a previous article, «How to Configure Hangfire in a .NET 8 API with Secure Dashboard Access and Job Prioritization», we explored how to set up Hangfire in a .NET 8 API, focusing on …

Juanlu, ElGuerre

@JuanluElGuerre I would also like to plug Bogus from Brian Chavez - https://github.com/bchavez/Bogus

If you need lots of data for tests and don't have a ready source (like a prexisting system), it has *amazing* real-but-fake data generation capabilities. Names, Vehicle ID's, personal ID numbers, Cities, States, Regions and all of it internationalized (50 locales!) as much as possible.

It can give you repeatable chunks of data directly as the required class. Granular control with Rules() as needed.

GitHub - bchavez/Bogus: :card_index: A simple fake data generator for C#, F#, and VB.NET. Based on and ported from the famed faker.js.

:card_index: A simple fake data generator for C#, F#, and VB.NET. Based on and ported from the famed faker.js. - bchavez/Bogus

GitHub
@adamhill Great and thanks a lot. Ummm It looks like to another post ? hehehe....