Config

Represents a configuration class responsible for managing assertion handlers and stage configurations. It includes methods for registering custom assertion handling, managing stages and their order, and defining stage-specific assertions.

Constructors

Link copied to clipboard
constructor()

Types

Link copied to clipboard
class SubgraphAssertionsBuilder<Input, Output>(subgraphRef: NodeReference.SubgraphNode<Input, Output>, clock: Clock, tokenizer: Tokenizer?)

Builder class for constructing subgraph-level assertions. This includes setup for nodes, edges, reachability assertions, and context-related mock setups.

Properties

Link copied to clipboard
var clock: Clock

A clock instance used for managing timestamps within the configuration, primarily for mock message timestamping purposes.

Link copied to clipboard

A configuration flag that determines whether graph-related testing features are enabled.

Link copied to clipboard

Defines the tokenizer to be used for estimating token counts in text strings.

Functions

Link copied to clipboard
Link copied to clipboard

Configures the Testing feature for graph testing.

Link copied to clipboard

Sets a custom handler for processing assertion results.

Link copied to clipboard

Configures and adds a verification strategy using the provided name and assertions.