Class TestAttachment
- Namespace
- NUnit.Framework.Interfaces
- Assembly
- nunit.framework.dll
The TestAttachment class represents a file attached to a TestResult, with an optional description.
public class TestAttachment
- Inheritance
-
TestAttachment
- Inherited Members
Constructors
TestAttachment(string, string?)
Creates a TestAttachment class to represent a file attached to a test result.
public TestAttachment(string filePath, string? description)
Parameters
filePath
stringAbsolute file path to attachment file
description
stringUser specified description of attachment. May be null.
Properties
Description
User specified description of attachment. May be null.
public string? Description { get; }
Property Value
FilePath
Absolute file path to attachment file
public string FilePath { get; }