你的位置: 码友网首页 / 资讯源列表 / Create fake user for ASP.NET Core integration tests

关于[Create fake user for ASP.NET Core integration tests]的摘要:

After getting done with fake users for ASP.NET Core controller unit tests I wanted to make fake users available also in integration tests. It took some inventing and hacking but I made it work. This blog post shows you how to create fake users for ASP.NET Core integration tests and write effective extension methods to keep integration tests shorter.

原文地址: https://gunnarpeipman.com/aspnet-core-integration-test-fake-user/

收录时间: 2020-01-15 浏览量: 1552 分类: ASP.NET Core

| 0 收藏 | 0