Hegel 0.3.5
Property-based testing for C++
Loading...
Searching...
No Matches
hegel::Settings Struct Reference

Configuration options for hegel::test(). More...

#include <settings.h>

Public Attributes

std::optional< uint64_t > test_cases
 Number of test cases to run. Defaults to 100.
Verbosity verbosity = Verbosity::Normal
 Verbosity level. Defaults to Verbosity::Normal.
std::optional< uint64_t > seed
 Explicit seed for the test.
bool derandomize = false
Database database = Database::unset()
std::vector< HealthChecksuppress_health_check
 Health checks to suppress for this test.

Detailed Description

Configuration options for hegel::test().

Member Data Documentation

◆ database

Database hegel::Settings::database = Database::unset()

Configure the Hegel database. See Database. Defaults to a database at .hegel.

◆ derandomize

bool hegel::Settings::derandomize = false

If true, use a deterministic RNG, making the test deterministic across executions.


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