From 1a1a31e6eeaef951d32f8ecc4740944d97226ca8 Mon Sep 17 00:00:00 2001 From: Arash Sabet Date: Sun, 21 Dec 2025 10:16:47 -0500 Subject: [PATCH] Update README with TestBedFixture behavior clarification Documented that TestBedFixture now skips TestAppSettings entries with null or empty Filename values before calling AddJsonFile, allowing for placeholder descriptors and easier use of environment variables. --- README.md | 2 ++ 1 file changed, 2 insertions(+) diff --git a/README.md b/README.md index 4cdf631..5b64d5c 100644 --- a/README.md +++ b/README.md @@ -149,6 +149,8 @@ protected abstract IEnumerable GetTestAppSettings(); protected abstract ValueTask DisposeAsyncCore(); ``` +`TestBedFixture` now ignores any `TestAppSettings` entries whose `Filename` is null or empty before calling `AddJsonFile`. That means you can safely return placeholder descriptors or rely only on environment variables; optional JSON files can simply leave `Filename` blank and the framework skips them automatically when building the configuration root. + `GetConfigurationFiles(...)` method returns a collection of the configuration files in your Xunit test project to the framework. `AddServices(...)` method must be used to wire up the implemented services. #### Secret manager