private void ExecuteCurrentlyRunningSpec(string lambdaFunctionName) { var methodName = System.Text.RegularExpressions.Regex.Match(lambdaFunctionName, @"\<(.+)\>").Groups[1].Value; if (!_runtimeContext.TestsExecuting) { return; } var executableSpecs = _runtimeContext.GetSpecs(_specClass.GetType().Name, methodName); foreach (var spec in executableSpecs) { if (!spec.HasExecuted && spec.TestName == _runtimeContext.CurrentlyExecutingSpecName) { spec.Execute(); } } }