proptastic corpus
Show the inputs kept for each property; --merge or --prune them. The corpus is a cache of inputs worth trying first, which a fuzz run rebuilds. Its count is of inputs kept, never coverage.
Usage
proptastic corpus [DIR] [OPTIONS]proptastic corpusproptastic corpus --merge=ci-corpusOutput
As the command printed it, run on a sample project: each is held to a real run by the command's own tests.
proptastic corpus Inputs kept ───────────────────────────────────────────────────────────
CalendarTest#everyMonthHasAtLeast28Days none CalendarTest#followsTheLeapYearRule none CalendarTest#novemberHas30Days 5 inputs · 2 stale
! 2 orphans, directories no property here uses calendar.CalendarTest#novemberHasThirtyDays() 1 input: renamed tests? give them .id(…) id.leap-years 1 input: an .id(…) changed, or its property is gone
proptastic corpus --prune drops them; nothing does it unasked.
Corpus .proptastic/corpus Kept 5 inputs kept for 1 property · 2 stale · 2 orphans
the corpus is a cache; a fuzz run rebuilds itExit status
0 when done; 2 for a mistake in the command, the environment or a file; 4 when proptastic itself went wrong. The errors behind 2, 3 and the refusals are on Command errors; every code is on Environment and exit codes.
Options
--only=PROPERTY
Only this property, by its id as the manifest has it, or by its name alone when exactly one property has that name.
proptastic corpus --only=SortTest#sortKeepsSize--edition=EDITION
Which edition's build to run, when DIR's build files could be either's.
One of java, rust, swift.
proptastic corpus --edition=java--prune
Example: drop the counterexamples and proposals whose property has gone or whose line changed; corpus: drop orphans, hold each property to its cap, and keep a minimal cover.
proptastic corpus --prune--merge=DIR
Copy another corpus's entries in, such as CI's.
proptastic corpus --merge=ci-corpus--format=FORMAT
How proptastic answers: agent for coding agents, jsonl for tools; full on a terminal, concise elsewhere.
One of full, concise, agent, jsonl.
When it isn't given: PROPTASTIC_FORMAT, PROPTASTIC_AGENT.
proptastic corpus --format=agent--color=WHEN
Sets PROPTASTIC_COLOR: whether what proptastic and the properties print is in colour, auto when not given.
One of auto, always, never.
When it isn't given: PROPTASTIC_COLOR, NO_COLOR, FORCE_COLOR.
proptastic corpus --color=never