Exemple #1
0
 /// <summary>
 /// Finalizes LightBddScope. It should be called after all tests have finished.
 /// </summary>
 public static void Cleanup()
 {
     MsTest2FeatureCoordinator.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(MsTest2FeatureCoordinator.GetInstance().RunnerRepository.GetRunnerFor(featureType));
 }