你的位置: 码友网首页 / 资讯源列表 / Writing .NET Database Integration Tests

关于[Writing .NET Database Integration Tests]的摘要:

Database access is easy, but testing database access is hard whether we’re an experienced .NET developer or new to the party. We may also hear a lot of opinions in our ecosystem about testing around data access scenarios. Should I mock, stub, use an in-memory version, and go all-in with integration testing. In this post, we will see why integration testing is my recommended path moving forward, discuss the pros and cons, and see how to implement it in our test infrastructure.

原文地址: https://khalidabuhakmeh.com/dotnet-database-integration-tests

收录时间: 2020-04-03 浏览量: 1371 分类: .NET Core

| 0 收藏 | 0