From da2e0ca60af6f3fd30ece36e4567c6892c022cce Mon Sep 17 00:00:00 2001 From: "Arash A. Sabet" <26050123+Arash-Sabet@users.noreply.github.com> Date: Tue, 27 Feb 2024 20:51:19 -0500 Subject: [PATCH] Update README.md in the scope of #241 --- README.md | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/README.md b/README.md index cc294be..abe92a1 100644 --- a/README.md +++ b/README.md @@ -36,6 +36,12 @@ public T GetScopedService(ITestOutputHelper testOutputHelper); public T GetService(ITestOutputHelper testOutputHelper); ``` +To access async scopes simply call the following method in the abstract fixture class: + +```csharp +public AsyncServiceScope GetAsyncScope(ITestOutputHelper testOutputHelper) +``` + ### Adding custom logging provider Test developers can add their own desired logger provider by overriding ```AddLoggingProvider(...)``` virtual method defined in ```TestBedFixture``` class.