A plugin for the hermione testing framework that automates migration of tests written for the deprecated gemini visual regression tool to hermione's format. Version 0.1.1 provides file path, browser ID, and command replacers to transform gemini test suites into hermione-compatible test collections. It supports callback hooks (before/beforeEach/afterEach/after) for custom transformations and logging, and can be enabled via CLI flag. Designed for teams upgrading from gemini to hermione, offering a configurable migration pipeline with minimal manual intervention.
npm install hermione-gemini-migratorNo compatibility data collected yet for this library.
Verified import paths — ran on the pinned version, not inferred.
Configures hermione-gemini-migrator plugin with file path, browser ID, and command replacers, plus an afterEach hook for logging migrated file paths.
npm i -D hermione
Set enabled: true in config or use CLI flag: npx hermione --gemini-migrate
Test replacers on sample gemini test code to verify output.
Ensure config has 'hermione-gemini-migrator' plugin entry with enabled: true.
Verify inputPatterns option points to correct glob pattern, or create sample .gemini.js files.