Skip to content

Environment and exit codes

The command's own variables, apart from the library's settings, which pass through to the tests as they are: see Settings.

Environment

VariableWhat it does
PROPTASTIC_FORMATStands in for --format when it isn't given: full, concise, agent or jsonl
PROPTASTIC_PROGRESSStands in for --progress when it isn't given: auto, bar, counter or none
PROPTASTIC_HEARTBEATHow often fuzz says it's still searching where there's no terminal: a duration, or 0 for none; 30s when not set
NO_COLORNo colour, unless --color says otherwise
FORCE_COLORColour where auto wouldn't
TERMDumb means no colour and no live block
CIMakes pr the default profile; example refuses to pin or accept
PROPTASTIC_TERM_PROGRESSWhether fuzz shows its progress in the terminal's tab, true or false, over what the terminal says of itself

Exit codes

StatusMeaning
0Every property passed; fuzz searched for the time given and found nothing; explain, example and corpus did what was asked
1A property has a counterexample, or a refusal that did nothing, or a pinned line that didn't compile
2A mistake in the command, a file or the environment, or a build proptastic couldn't read
3The build, or a test that isn't a property, failed before any property ran; for fuzz, a pinned example or saved counterexample failed before the search began, or an input hung
4proptastic itself went wrong
130Fuzz or run was stopped with Ctrl-C: fuzz stops its search, says what it searched and keeps the corpus; run stops the build

Privacy