Skip to content

ReadXml Method ​

Definition ​

  • Namespace: JASE.TestAnalysis
  • Assembly: JASE.TestAnalysis.dll

TestRunSummary ReadXml(string xml) ​

csharp
TestRunSummary ReadXml(string xml)

Reads a Visual Studio TRX test results document from a string containing XML content.

Parameters ​

NameDescription
xmlA string containing Visual Studio TRX XML content. The XML must conform to the Visual Studio Team Test schema.

Returns ​

A TestRunSummary containing parsed test results, timing data, and metadata extracted from the TRX content.

Remarks ​

This overload encodes the supplied XML as UTF-8 and delegates to the stream-based reader.