Skip to main content
evalvcr provides two paths to migrate existing evalite suites to deterministic VCR replay:

Option 1: Drop-In Compatibility Import

Replace your evalite import with evalvcr/evalite-compat:
evalvcr/evalite-compat supports evalite(), evalite.each(), evalite.only(), evalite.skip(), createScorer, reportTrace, trialCount, scoreThreshold, and columns.

Option 2: Automated CLI Codemod

Preview changes with --dry-run, then apply with --write:
After migrating, run once in auto mode to record scrubbed .evalvcr.json cassettes and switch CI to --mode strict.