Introducing BunCover
BunCover is a developer-focused application that transforms test coverage reports generated by the Bun runtime into an interactive and visually intuitive interface. It provides a secure and seamless way to view coverage details and navigate source code.
What is BunCover?
BunCover transforms your Bun test coverage reports into a comprehensive analytics platform. Whether you're working locally or in CI/CD pipelines, BunCover provides the insights you need to improve your test coverage and code quality.
Coverage Analytics
Project-wide statistics, file-level metrics, and trend visualization
Source Integration
Interactive code viewer with line-by-line coverage highlighting
AI Test Prompt Generation
AI-powered test code generation for uncovered lines
Getting Started
Get started with BunCover in just a few steps. You'll need:
- •Node.js 18+ installed
- •Bun runtime installed
- •A Bun project with tests
1 Install BunCover CLI
Or use your preferred package manager:
2 Authenticate with BunCover
Login to your BunCover account:
This will open your browser for authentication. For CI/CD environments, use access keys instead.
3 Run your tests with coverage
Navigate to your project and run tests with coverage reporting:
Key Features
BunCover provides comprehensive coverage analysis and visualization:
Coverage Analytics
Project-wide statistics, file-level metrics, coverage distribution analysis, and trend visualization
Source Code Integration
Interactive source code viewer with line-by-line coverage highlighting and uncovered lines identification
Multi-Project Support
Project-based organization, coverage report history, and project analytics dashboard
Real-time Updates
Modern responsive design with dark mode support and real-time updates via Pusher
Next Steps
Now that you understand BunCover, explore these resources:
Quick Start Guide
Learn the basics and create your first coverage report
CLI Reference
Complete command reference and options