Hegel 0.11.4
Property-based testing for C++
Loading...
Searching...
No Matches
hegel::stateful::RunParams Struct Reference

Options for run. More...

#include <stateful.h>

Public Attributes

bool print_state = true

Detailed Description

Options for run.

Member Data Documentation

◆ print_state

bool hegel::stateful::RunParams::print_state = true

If true (the default), a failing sequence prints the machine's state before its first step and after every step that runs to completion.

state = 0
Step 1: add
auto amount = 3;
state = 3
Step 2: add
auto amount = 9;

A step that throws prints no state, so the last state shown is the one the failing step started from.


The documentation for this struct was generated from the following file: