Reposotory 測試 - 使用 Testcontainers 建立相依使用的測試資料庫
介紹在 ASP.NET Core 測試專案裡使用 Testcontainers-Dotnet 建立 Respository 測試用的 MS SQL Server,分別使用 xUnit 與 MSTest 建立測試專案,可以瞭解到在這兩個不同的測試框架裡如何使用 Testcontainer-Dotnet 建立 MS SQL Server container。
以下兩篇文章是我所寫的,而這裡的專案原始碼都有使用了文章裡所介紹的內容