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(TestDocument document, TestExecutionContext context, params IModule[] modules)
Parameters
| Name | Type | Description |
|---|---|---|
| document | TestDocument | The initial input document. |
| context | TestExecutionContext | The execution context to use. |
| modules | IModule[] | The modules to execute. |
Return Value
| Type | Description |
|---|---|
| Task |
A materialized list of result documents from the last module. |