BehavTest

BehavTest › Reference

Configuration

Everything about a run comes from four places: the suite file, per-case fields in it, command-line flags and environment variables. When two set the same thing, the more specific one wins:

SettingResolved in this order (first one set wins)Built-in default
Attempts per case--repeat → the case's repeat → suite defaults.repeat1
Timeout per attempt--timeout → the case's timeoutMs → suite defaults.timeoutMs30,000 ms
Attempts in flight--concurrency → suite defaults.concurrency4
Judge modelthe case's scorerConfig.<scorer>.judge → --judge → suite defaults.judge → BEHAVTEST_JUDGEnone (a judged case without one is a configuration error)
Model prices--prices <file> → suite pricing → the bundled price tablebundled table
Results database--db <path>.behavtest/results.db

The fields of a suite are in suite format, every flag is in the CLI reference, and each adapter's options are in adapters.