<PackageReference Include="NUnit" Version="4.2.1" />

TestAttachment

public class TestAttachment
The TestAttachment class represents a file attached to a TestResult, with an optional description.
using System.Runtime.CompilerServices; namespace NUnit.Framework.Interfaces { [System.Runtime.CompilerServices.NullableContext(1)] [System.Runtime.CompilerServices.Nullable(0)] public class TestAttachment { public string FilePath { get; } [System.Runtime.CompilerServices.Nullable(2)] [field: System.Runtime.CompilerServices.Nullable(2)] public string Description { [System.Runtime.CompilerServices.NullableContext(2)] get; } public TestAttachment(string filePath, [System.Runtime.CompilerServices.Nullable(2)] string description) { FilePath = filePath; Description = description; } } }