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

TestAttachment

public class TestAttachment
The TestAttachment class represents a file attached to a TestResult, with an optional description.
public string Description { get; }

User specifed description of attachment. May be null.

public string FilePath { get; }

Absolute file path to attachment file

public TestAttachment(string filePath, string description)

Creates a TestAttachment class to represent a file attached to a test result.