TestExecutionContext.

GetDocument(IEnumerable<KeyValuePair<string, Object>>) Method

Summary

Gets a new document with the specified metadata (in addition to the default initial metadata).
Assembly
Wyam.Testing.dll
Namespace
Wyam.Testing.Execution
Containing Type
TestExecutionContext

Syntax

public IDocument GetDocument(IEnumerable<KeyValuePair<string, Object>> items)

Parameters

Name Type Description
items IEnumerable<KeyValuePair<string, Object>> The metadata items.

Return Value

Type Description
IDocument The new document.
GitHub