/// <summary>Executed after each test is run</summary>
 /// <param name="test">The test that has just been run.</param>
 public void AfterTest(ITest test)
 {
     try
     {
         OnTearDown();
     }
     finally
     {
         NUnit3FeatureCoordinator.GetInstance().Dispose();
     }
 }
 /// <summary>
 /// Returns <see cref="IFeatureRunner"/> for given <paramref name="featureType"/>.
 /// </summary>
 /// <param name="featureType">Feature type.</param>
 /// <returns><see cref="IFeatureRunner"/> object.</returns>
 public static IFeatureRunner GetRunnerFor(Type featureType)
 {
     return(NUnit3FeatureCoordinator.GetInstance().RunnerRepository.GetRunnerFor(featureType));
 }