你的位置: 码友网首页 / 资讯源列表 / Testing and Configuration in .NET Core

关于[Testing and Configuration in .NET Core]的摘要:

When running automated tests, or running things locally, I often want to use a different configuration to what I would run in production. A JSON file often suffices for local development, however this isn’t useful for automated tests where I want different configurations for different tests, or if my configuration is dynamic (e.g. I need to spin up a docker container during startup, and I have to get some configuration from that on the fly).

原文地址: https://joestead.codes/posts/testing-with-configuration-dotnet/

收录时间: 2020-08-05 浏览量: 991 分类: .NET Core

| 0 收藏 | 0