From 9f7de8709e60c6bd8addc432a63250ca20774835 Mon Sep 17 00:00:00 2001 From: "Arash A. Sabet" <26050123+Arash-Sabet@users.noreply.github.com> Date: Tue, 18 Oct 2022 07:27:22 -0400 Subject: [PATCH] Update README.md Highlighted `UserSecrets` support. --- README.md | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/README.md b/README.md index 1f9d30f..f952676 100644 --- a/README.md +++ b/README.md @@ -66,6 +66,14 @@ Decorate your Xunit test class with the following attribute and associate ```Tes [TestCaseOrderer("Xunit.Microsoft.DependencyInjection.TestsOrder.TestPriorityOrderer", "Xunit.Microsoft.DependencyInjection")] ``` +## Supporting configuration from `UserSecrets` + +This library's `TestBedFixture` abstract class exposes an instance of `IConfigurationBuilder` that can be used to support `UserSecrets` when configuring the test projects: + +```csharp +public IConfigurationBuilder ConfigurationBuilder { get; private set; } +``` + ## Examples * Please [follow this link](https://github.com/Umplify/xunit-dependency-injection/tree/main/examples/Xunit.Microsoft.DependencyInjection.ExampleTests) to view a couple of examples on utilizing this library.