The TestLog type exposes the following members.

Methods

  NameDescription
Attach
Attaches an attachment to the execution log.
AttachHtml
Attaches an HTML attachment with mime-type Html.
AttachImage
Attaches an image attachment with a mime-type compatible with its internal representation.
AttachObjectAsXmlOverloaded.
AttachPlainText
Attaches an plain text attachment with mime-type PlainText.
AttachVideo
Attaches a video attachment with a mime-type compatible with its internal representation.
AttachXHtml
Attaches an XHTML attachment with mime-type XHtml.
AttachXml
Attaches an XML attachment with mime-type Xml.
BeginMarker
Begins a marked region. May be nested.
BeginSection
Begins a section with the specified name. May be nested.
Embed
Embeds an attachment.
EmbedExisting
Embeds another copy of an existing attachment.
EmbedHtml
Embeds an HTML attachment with mime-type Html.
EmbedImage
Embeds an image attachment with a mime-type compatible with its internal representation.
EmbedObjectAsXmlOverloaded.
EmbedPlainText
Embeds an plain text attachment with mime-type PlainText.
EmbedVideo
Embeds a video attachment with a mime-type compatible with its internal representation.
EmbedXHtml
Embeds an XHTML attachment with mime-type XHtml.
EmbedXml
Embeds an XML attachment with mime-type Xml.
End
Ends the region most recently started with one of the Begin* methods.
Flush
Flushes the log writer.
WriteOverloaded.
WriteEllipsis
Writes an ellipsis to indicate where content has been elided for brevity.
WriteExceptionOverloaded.
WriteHighlighted
Writes highlighted text.
WriteLineOverloaded.

Extension Methods

  NameDescription
FormatOverloaded.

Properties

  NameDescription
ConsoleError
Gets the current stream writer for captured Error messages.
ConsoleInput
Gets the current stream writer for captured In messages.
ConsoleOutput
Gets the current stream writer for captured Out messages.
DebugTrace
Gets the current stream writer for diagnostic Debug and Trace messages.
Default
Gets the current stream writer for generic log messages such as those written using the static methods of this class.
Failures
Gets the current stream writer for reporting failure messages and exceptions.
Warnings
Gets the current stream writer for reporting warning messages.
Writer
Gets the current log writer.

See Also