Skip to content
This repository was archived by the owner on Apr 8, 2023. It is now read-only.

Commit 9f7de87

Browse files
authored
Update README.md
Highlighted `UserSecrets` support.
1 parent 20cf46d commit 9f7de87

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

README.md

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -66,6 +66,14 @@ Decorate your Xunit test class with the following attribute and associate ```Tes
6666
[TestCaseOrderer("Xunit.Microsoft.DependencyInjection.TestsOrder.TestPriorityOrderer", "Xunit.Microsoft.DependencyInjection")]
6767
```
6868

69+
## Supporting configuration from `UserSecrets`
70+
71+
This library's `TestBedFixture` abstract class exposes an instance of `IConfigurationBuilder` that can be used to support `UserSecrets` when configuring the test projects:
72+
73+
```csharp
74+
public IConfigurationBuilder ConfigurationBuilder { get; private set; }
75+
```
76+
6977
## Examples
7078

7179
* 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.

0 commit comments

Comments
 (0)