Skip to main content
The Golden Test Pack enforces deterministic behavior for the open-source CLI and core.

Golden corpus

test_corpus/
├── short_1.txt ("Hello world.")
├── short_2.txt ("This is a simple test.")
├── chapter_1.txt (Stardust paragraph)
├── event_log.json
├── users.csv
├── multilingual.txt
└── image.blob (1024 pseudo-random bytes)

CLI matrix

Test nameScenario
Create + infomemvid create followed by memvid info --json to confirm an empty, Free-tier file
Put + enable-lex + findPipe input via memvid put, enable lexical search, and run memvid find
Find (no results)Ensure unknown queries return []
Enable-lex toggles statememvid enable-lex flips hasLexIndex in memvid info --json
Capacity exceededMock a low-capacity memory and assert Error: CapacityExceeded exit code
Tickets applyApply a valid ticket and confirm tier upgrades
Unknown flagPassing an unsupported flag returns the CLI usage error (exit code 2)
Verify + doctormemvid verify --deep detects corruption and memvid doctor repairs the timeline track
Import structured filememvid import --format jsonl ingests structured data
Single-file guaranteememvid verify-single-file confirms there are no .wal/.lock helpers
Run these tests automatically in CI whenever CLI or core changes land. Use the published CLI JSON schemas (the same ones documented in this site) to check outputs verbatim.
Dataset generation - Keep the downloadable test_corpus.zip fixture up to date; corruption or formatting drift invalidates the golden pack.