BaseFixture Class
Namespace
Statiq.Testing
Base Types
  • object
graph BT Type-->Base0["object"] Type["BaseFixture"] class Type type-node

Syntax

[Parallelizable(ParallelScope.Children)]
public abstract class BaseFixture

Attributes

Type Description
Parallelizable

Fields

Name Field Type Constant Value Summary
EmptyDocuments IReadOnlyList<TestDocument>
static

Methods

Name Return Value Summary
BaseSetUp() void
ExecuteAsync(IEnumerable<TestDocument>, IModule[]) Task<ImmutableArray<TestDocument>>
A utility method to execute modules in serial. The resulting documents will be materialized before returning. A new TestExecutionContext will be created.
static
ExecuteAsync(IEnumerable<TestDocument>, TestExecutionContext, IModule[]) Task<ImmutableArray<TestDocument>>
A utility method to execute modules in serial. The resulting documents will be materialized before returning. A new TestExecutionContext will be created.
static
ExecuteAsync(IModule[]) Task<ImmutableArray<TestDocument>>
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.
static
ExecuteAsync(TestDocument, IModule[]) Task<ImmutableArray<TestDocument>>
A utility method to execute modules in serial. The resulting documents will be materialized before returning. A new TestExecutionContext will be created.
static
ExecuteAsync(TestDocument, TestExecutionContext, IModule[]) Task<ImmutableArray<TestDocument>>
A utility method to execute modules in serial. The resulting documents will be materialized before returning. A new TestExecutionContext will be created.
static
ExecuteAsync(TestExecutionContext, IModule[]) Task<ImmutableArray<TestDocument>>
A utility method to execute modules in serial. The resulting documents will be materialized before returning.
static
GetDocuments(string[]) TestDocument[]
static
GetTestFileStream(string) MemoryStream
static

Extension Methods