Created
September 26, 2021 02:15
-
-
Save ManfredLange/cab72916727df3638882a57fe05685f8 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
using Microsoft.Extensions.Configuration; | |
using NUnit.Framework; | |
namespace CosmosDbTest | |
{ | |
[SetUpFixture] | |
public static class TestSuite | |
{ | |
static TestSuite() | |
{ | |
var builder = new ConfigurationBuilder(); | |
const string environmentName = "Local"; | |
builder | |
.AddJsonFile($"appsettings.{environmentName}.json", optional: true, reloadOnChange: true) | |
; | |
Configuration = builder.Build(); | |
} | |
public static readonly IConfiguration Configuration; | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment