Skip to content

Commit 748ce1b

Browse files
authored
Merge pull request #340 from Umplify/doc-update
Update README with TestBedFixture behavior clarification
2 parents 480bce5 + 1a1a31e commit 748ce1b

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

README.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -149,6 +149,8 @@ protected abstract IEnumerable<TestAppSettings> GetTestAppSettings();
149149
protected abstract ValueTask DisposeAsyncCore();
150150
```
151151

152+
`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.
153+
152154
`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.
153155

154156
#### Secret manager

0 commit comments

Comments
 (0)