sfba.social is one of the many independent Mastodon servers you can use to participate in the fediverse.
A Mastodon instance for the San Francisco Bay Area. Come on in and join us!

Server stats:

2.4K
active users

#ASPNET

9 posts8 participants0 posts today

Are you using Testcontainers in your tests?

Use Testcontainers in ASP NET Core testing to get better coverage -- because you'll be using *real* dependencies.

Learn how to simulate your prod dependencies, test in parallel, and the opportunity to integrate with CI/CD tools.

A great addition to your granular unit tests are larger scale tests working with real systems!

Check out the article:
devleader.ca/2024/02/20/testco

How can we use NUnit to test ASP.NET Core?

In this article, I explain how to leverage NUnit in ASP NET Core tests with simple code examples.

xUnit has been my preferred testing framework, but I felt like it was important to dive back into NUnit as well. While I still need to dedicate more time to it, I wanted to document some of the process so that you can see how to leverage NUnit in your ASP NET Core tests!

Check out the article:
devleader.ca/2024/02/16/nunit-