Node

data class Node(val parent: BranchSeeker.Node?, var title: String, var status: BranchSeeker.Status? = null, var message: String? = null, val nodes: MutableList<BranchSeeker.Node> = mutableListOf(), val storedData: MutableMap<NodeParameterKey<*, *>, Any?> = mutableMapOf())

A node within the execution tree. Each node represents an expectation that was executed.

Constructors

Link copied to clipboard
constructor(parent: BranchSeeker.Node?, title: String, status: BranchSeeker.Status? = null, message: String? = null, nodes: MutableList<BranchSeeker.Node> = mutableListOf(), storedData: MutableMap<NodeParameterKey<*, *>, Any?> = mutableMapOf())

Functions

Link copied to clipboard

Create a child node for this node.

Properties

Link copied to clipboard

Message for this node. Usually a short explanation of why this expectation was successful or failed.

Link copied to clipboard

The sub-nodes that were executed as part of this expectation

Link copied to clipboard

Parent for this node, or null if this is the root node.

Link copied to clipboard

Status for this node

Link copied to clipboard

A map of data that was stored using storeIn in this node.

Link copied to clipboard

Title for this node.