Skip to content

lirany1/gauge-html-report-ai

Repository files navigation

🚀 Gauge Enhanced HTML Report with AI

License Go Version Version CI

Buy Me A Coffee

Transform your Gauge test reports with AI-powered insights and modern analytics!

✨ What makes it special?

🧠 Smart AI Analysis - Automatically categorizes failures and suggests fixes
📊 Beautiful Reports - Modern, responsive design with interactive charts
🔍 Intelligent Grouping - Groups similar errors for faster debugging
Works Offline - No AI setup required, works great out of the box!

🎮 Try the Demo

→ See Live Demo

⚡ Quick Start

# 1. Clone and build
git clone https://github.com/lirany1/gauge-html-report-ai.git
cd gauge-html-report-ai
go build -o gauge-html-report-enhanced ./cmd/html-report-enhanced

# 2. Generate your first enhanced report
gauge run specs/ --reporter=html-enhanced

That's it! 🎉 Your enhanced report will be in reports/html-report/index.html

🔧 Optional: Add AI Superpowers

Want even smarter analysis? Add an AI provider:

# OpenAI (best quality)
export GAUGE_AI_ENABLED=true
export GAUGE_AI_PROVIDER=openai
export GAUGE_AI_API_KEY=your-openai-key

# Or use local LLM (free & private)
export GAUGE_AI_ENABLED=true
export GAUGE_AI_PROVIDER=local
export GAUGE_AI_MODEL=llama2

🎯 Key Features

Feature Description
🤖 AI Error Analysis Automatically categorizes failures (Timeout, Network, etc.)
📈 Analytics Engine Performance metrics and execution timeline
🔍 Smart Grouping Groups similar failures together
📱 Mobile Friendly Responsive design works on all devices
🌙 Dark Mode Toggle between light and dark themes
📤 Export Options PDF, JSON, XML, and CSV export formats
Pattern Matching Intelligent analysis works without AI setup
🧠 Multi-LLM Support OpenAI, Claude, and local LLM providers

🧪 Testing

go test ./...  # Run all tests

🤝 Contributing

Found a bug or have an idea? Open an issue or submit a PR!

📄 License

Apache 2.0 - see LICENSE


Made with ❤️ for the testing community