public override void OnTestFinished(ITestResult result)
        {
            switch (result.State)
            {
            case State.Passed:
                _writer.WriteTestFinished(result.Text, result.Duration);
                break;

            case State.Failed:
                _writer.WriteTestFailed(result.Text, result.GetBriefSummary(), result.GetDetailedSummary(TextSymbolProvider.Instance));
                _writer.WriteTestFinished(result.Text, result.Duration);
                break;

            case State.Ignored:
            case State.Inconclusive:
                _writer.WriteTestIgnored(result.Text, string.Empty);
                break;
            }
        }