Exemplo n.º 1
0
 void IDisposable.Dispose()
 {
     try
     {
         OnTearDown();
     }
     finally
     {
         FixieFeatureCoordinator.GetInstance().Dispose();
     }
 }
Exemplo n.º 2
0
 /// <summary>
 /// Constructor initializing LightBDD scope.
 /// </summary>
 protected LightBddScope()
 {
     FixieFeatureCoordinator.InstallSelf(Configure());
     OnSetUp();
 }
Exemplo n.º 3
0
 /// <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(FixieFeatureCoordinator.GetInstance().RunnerRepository.GetRunnerFor(featureType));
 }