The TestLog type exposes the following members.
Methods
| Name | Description | |
|---|---|---|
| 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.
| |
| AttachObjectAsXml | Overloaded. | |
| 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.
| |
| EmbedObjectAsXml | Overloaded. | |
| 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.
| |
| Write | Overloaded. | |
| WriteEllipsis |
Writes an ellipsis to indicate where content has been elided for brevity.
| |
| WriteException | Overloaded. | |
| WriteHighlighted |
Writes highlighted text.
| |
| WriteLine | Overloaded. |
Extension Methods
| Name | Description | |
|---|---|---|
| Format | Overloaded. |
Properties
| Name | Description | |
|---|---|---|
| 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 | ||
| 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.
|
