A utility method to execute modules in serial. The resulting documents will be materialized before returning.
- Namespace
- Statiq
.Testing - Containing Type
- BaseFixture
Syntax
public static Task<ImmutableArray<TestDocument>> ExecuteAsync(TestExecutionContext context, params IModule[] modules)
Parameters
Name | Type | Description |
---|---|---|
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. |