public void OnSpecificationEnd(SpecificationInfo specification, Result result)
        {
            string specName = GetContextSpecName(_currentContext, specification);

            switch (result.Status)
            {
                case Status.Passing:
                    break;
                case Status.Failing:
                    _messageProvider.TestFailed(specName,
                                                result.Exception.Message,
                                                result.Exception.StackTrace,
                                                result.Exception.FullTypeName);
                    break;
                case Status.Ignored:
                    _messageProvider.TestIgnored(specName, null);
                    break;
                case Status.NotImplemented:
                    _messageProvider.TestIgnored(specName, "Not implemented");
                    break;
                default:
                    break;
            }

            _messageProvider.TestFinished(specName);
        }
 public Result SupplementResult(Result result)
 {
   SupplementResultRun = true;
   return result;
 }