Example #1
0
 public static void DisposeAfterTest(this TestContext context, IDisposable obj)
 {
     TestDisposables.For(context.Test.ID).Add(obj);
 }
Example #2
0
 public void BeforeTest(ITest test) => TestDisposables.Begin(test.Id);
Example #3
0
 public void AfterTest(ITest test) => TestDisposables.End(test.Id);