ITestResult
The ITestResult interface represents the result of a test.
            
                using System;
using System.Collections.Generic;
using System.Runtime.CompilerServices;
namespace NUnit.Framework.Interfaces
{
    [System.Runtime.CompilerServices.NullableContext(1)]
    public interface ITestResult : IXmlNodeBuilder
    {
        ResultState ResultState { get; }
        string Name { get; }
        string FullName { get; }
        double Duration { get; }
        DateTime StartTime { get; }
        DateTime EndTime { get; }
        string Message { get; }
        [System.Runtime.CompilerServices.Nullable(2)]
        string StackTrace {
            [System.Runtime.CompilerServices.NullableContext(2)]
            get;
        }
        int TotalCount { get; }
        int AssertCount { get; }
        int FailCount { get; }
        int WarningCount { get; }
        int PassCount { get; }
        int SkipCount { get; }
        int InconclusiveCount { get; }
        bool HasChildren { get; }
        IEnumerable<ITestResult> Children { get; }
        ITest Test { get; }
        string Output { get; }
        IList<AssertionResult> AssertionResults { get; }
        ICollection<TestAttachment> TestAttachments { get; }
    }
}