TestResult Class

Definition

Contains a set of StepResult objects that store information about the results of a diagnostic test run.

public class TestResult
type TestResult = class
Public Class TestResult
Inheritance
TestResult

Constructors

TestResult()

Initializes a new instance of the TestResult class without specifying a name of the test result.

TestResult(String)

Initializes a new instance of the TestResult class with the specified name.

Properties

Name

Retrieves or sets the name for the TestResult object.

StepResults

Retrieves or sets the list of StepResult objects that the TestResult object contains.

Summary

Methods

DeSerializeFromFile(String)

Deserializes the XML in the specified file and creates a TestResult object with property values that match the information in the file.

DeSerializeFromString(String)

Deserializes the XML in the specified string and creates a TestResult object with property values that match the information in the string.

GenerateSimpleResultSummary()

Creates a StepResult object with information that summarizes the results that are contained by the other StepResult objects in the TestResult object.

XmlSerializeToFile(String)

Serializes the properties of the TestResult object into XML and saves the result in the specified file.

XmlSerializeToStandardOut()

Serializes the properties of the TestResult object into XML and sends the result to standard output.

XmlSerializeToStream(Stream)

Serializes the properties of the TestResult object into XML and saves the result by using the specified Stream.

Applies to