Information
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

TestContext.AddResultFile Method (String)

 

When overridden in a derived class, adds a file name to the list in TestResult.ResultFileNames.

Namespace:   Microsoft.VisualStudio.TestTools.UnitTesting
Assembly:  Microsoft.VisualStudio.QualityTools.UnitTestFramework (in Microsoft.VisualStudio.QualityTools.UnitTestFramework.dll)

No code example is currently available or this language may not be supported.

Parameters

fileName
Type: System.String

The file name to add.

Return to top
Show: