Skip to content

πŸ” Visual Regression Testing Tool - Catch visual bugs before users do! Easy-to-deploy Streamlit app with automated screenshot comparison, PDF reports, and real-time testing. Perfect for developers, QA teams, and DevOps. No complex setup - just run and test!

Notifications You must be signed in to change notification settings

rkarunarat/visual_regression_testing_tool

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

36 Commits
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

πŸ” Visual Regression Testing Tool

Catch visual bugs before users do! A comprehensive Streamlit-based solution for automated visual testing with advanced screenshot comparison, real-time progress tracking, and detailed reporting.

πŸ› οΈ Technology Stack

Python Streamlit Playwright Pillow OpenCV Docker Deployment

🎯 What Problems Does This Solve?

For QA Teams

  • Catch visual regressions before they reach production
  • Automate repetitive visual testing across multiple browsers and devices
  • Generate professional reports for stakeholders

For Frontend Developers

  • Verify responsive design across different screen sizes
  • Test cross-browser compatibility automatically
  • Detect layout shifts and visual inconsistencies

For DevOps Teams

  • Integrate visual testing into CI/CD pipelines
  • Monitor production visual health continuously
  • Deploy with confidence knowing visual changes are tracked

✨ Key Features

  • 🌐 Multi-Browser Testing: Chrome, Firefox, Safari, Edge support
  • πŸ“± Device Emulation: Desktop, Tablet, Mobile testing
  • πŸ” Advanced Comparison: SSIM, pixel-level, and histogram analysis
  • πŸ“Š Real-Time Progress: Live testing updates and metrics
  • πŸ“„ Professional Reports: PDF reports with detailed comparisons
  • 🌍 Region Testing: Geo-specific testing with locale/timezone support
  • πŸ“ˆ Result Management: Export, cleanup, and detailed comparison views
  • πŸš€ Easy Deployment: Docker-ready with production configurations

πŸš€ Quick Start

Option 1: Docker (Recommended)

# Clone and deploy
git clone <your-repo-url>
cd visual_regression_testing_tool
./deploy.sh local

# Access at http://localhost:8501

Option 2: Local Python

# Install and run
./deploy-local.sh
# Access at http://localhost:8501

πŸ“– Detailed deployment guides: README-DEPLOYMENT.md | PRODUCTION-DEPLOYMENT.md

🎯 Use Cases

Web Development Workflow

  1. Staging vs Production: Compare your staging environment with production
  2. Feature Branches: Test new features against main branch
  3. Responsive Design: Verify layouts across devices
  4. Cross-Browser: Ensure compatibility across browsers

CI/CD Integration

  • Automated Testing: Run visual tests on every deployment
  • Regression Detection: Catch visual changes in pull requests
  • Quality Gates: Block deployments with visual regressions

πŸ—οΈ How It Works

  1. Configure URLs: Add staging and production URL pairs
  2. Select Browsers/Devices: Choose testing combinations
  3. Run Tests: Automated screenshot capture and comparison
  4. Analyze Results: Side-by-side, overlay, and diff views
  5. Export Reports: PDF reports and detailed exports

πŸ“Š Comparison Views

  • Side-by-Side: Staging vs Production comparison
  • Overlay: Transparent overlay with opacity control
  • Difference: Highlighted visual differences
  • Metrics: Similarity scores and detailed analysis

🌍 Region Testing

Test your applications from different geographic locations:

  • USA: New York timezone and locale
  • Europe: London timezone and locale
  • Asia: Tokyo timezone and locale
  • Middle East: Dubai timezone and locale

πŸ“ˆ Perfect For

  • QA Engineers - Automated visual regression testing
  • Frontend Developers - Cross-browser and responsive testing
  • DevOps Teams - CI/CD integration and monitoring
  • Product Teams - Design validation and A/B testing
  • Web Agencies - Client project quality assurance

🎯 Why Choose This Tool?

  • βœ… No Complex Setup - Just run and test
  • βœ… Professional Reports - PDF exports with detailed analysis
  • βœ… Real-Time Updates - Live progress tracking
  • βœ… Production Ready - Docker deployment with health checks
  • βœ… Cross-Platform - Works on Windows, macOS, Linux

πŸ“š Documentation

β˜• Support This Project

If this tool helps you catch visual bugs and saves you time, consider supporting the development:

Buy Me A Coffee

🀝 Contributing

We welcome contributions! Please see our contributing guidelines and feel free to submit issues and pull requests.

πŸ“„ License

This project is open source and available under the MIT License.


Built with ❀️ for the testing community

Catch visual bugs before users do!

About

πŸ” Visual Regression Testing Tool - Catch visual bugs before users do! Easy-to-deploy Streamlit app with automated screenshot comparison, PDF reports, and real-time testing. Perfect for developers, QA teams, and DevOps. No complex setup - just run and test!

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published