A utility method to execute modules in serial. The resulting documents will be materialized before returning.
A new
TestExecutionContext
will be created.
- Namespace
- Statiq
.Testing - Containing Type
- BaseFixture
Syntax
public static Task<ImmutableArray<TestDocument>> ExecuteAsync(IEnumerable<TestDocument> documents, params IModule[] modules)
Parameters
Name | Type | Description |
---|---|---|
documents | IEnumerable |
The initial input documents. |
modules | IModule[] | The modules to execute. |
Return Value
Type | Description |
---|---|
Task |
A materialized list of result documents from the last module. |