Share via


XmlTestReader.ReadTestRunSummary Method

Reads the summary section of the test run in the specified XML file and returns a TestRun object.

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

Syntax

'Declaration
Public Function ReadTestRunSummary ( _
    location As String _
) As TestRun
public TestRun ReadTestRunSummary(
    string location
)
public:
TestRun^ ReadTestRunSummary(
    String^ location
)
member ReadTestRunSummary : 
        location:string -> TestRun
public function ReadTestRunSummary(
    location : String
) : TestRun

Parameters

  • location
    Type: String

    The name of the file to read.

Return Value

Type: Microsoft.VisualStudio.TestTools.Common.TestRun
A test run object.

.NET Framework Security

See Also

Reference

XmlTestReader Class

Microsoft.VisualStudio.TestTools.Common Namespace

TestRun