vite-plugin-autotester (v0.5.6) is a Vite plugin that integrates AutoTester testing into Vite projects. It automatically generates YAML test stubs for specified components, provides a dev server endpoint at /__autotester for test management, supports hot module replacement for test files, and optionally runs tests after build. It is actively maintained with regular releases, ships TypeScript types, and requires Vite 5, 6, or 7. Compared to other testing integrations, it focuses on stub generation and dev server UX.
npm install vite-plugin-intellitesterNo compatibility data collected yet for this library.
Verified import paths — ran on the pinned version, not inferred.
Shows how to add the autotester Vite plugin with configuration options in a TypeScript Vite config.
Add an 'include' array with glob patterns matching your components.
Use 'vite-plugin-autotester' as the npm package name.
Delete old test stub files manually if you want regeneration.
Change the 'endpoint' option to a custom path to avoid conflicts.
Use the ESM import syntax: `import { autotester } from 'vite-plugin-autotester'`Upgrade Vite to version 5, 6, or 7: `npm install vite@latest`
Set `include` to glob patterns that match your component files, e.g., `include: ['src/components/**/*.tsx', 'src/pages/**/*.tsx']`.