pixelguard
v0.1.1
Published
Open-source visual regression testing CLI
Downloads
276
Maintainers
Readme
Pixelguard
Open-source visual regression testing CLI. Zero config, git-friendly, no backend required.
Installation
npm install pixelguard
# or
npx pixelguardQuick Start
# Initialize in your project
npx pixelguard init
# Capture screenshots and create baseline
npx pixelguard test --update
# Run visual regression tests
npx pixelguard test
# View the report in your browser
npx pixelguard test --serveCommands
pixelguard init— Auto-detect project type and create configpixelguard test— Capture and compare screenshotspixelguard list— List configured shots
Test Options
--update— Update baseline with current screenshots--ci— CI mode with JSON output--filter <pattern>— Only test matching shots--serve— Serve the report in browser after tests--port <number>— Port for serving (default: 3333)
Requirements
- Node.js 18+
- Playwright (
npm install playwright)
Documentation
See the full documentation at github.com/emiliodominguez/pixelguard.
License
MIT
