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