What It Enables
Automated Testing
Tests run automatically on every pull request
Preview Testing
Tests against Vercel/Railway preview deployments
PR Status Checks
Pass/fail status reported directly in GitHub
Team Visibility
Results visible to all team members
Installation
1
Access GitHub Integration
Visit Bugster Dashboard → Your Project → GitHub Integration
2
Install GitHub App
Click “Connect Organization” and authorize the Bugster GitHub App
3
Select Repository
Choose the repository you want to integrate with Bugster
4
Commit Configuration
Add your
.bugster/
folder to the repository:Platform Setup
Vercel Integration
1
Enable Preview Access
In your Vercel project settings, add the Vercel protection bypass key to your Bugster configuration
2
Configure Environment Variables
Ensure your preview deployments have the necessary environment variables for testing
Vercel Setup Guide
Detailed Vercel configuration and protection bypass setup
Railway Integration
1
Configure Preview Deployments
Ensure Railway preview deployments are enabled for your project
2
Set Environment Variables
Configure necessary environment variables for your Railway previews
Railway Setup Guide
Complete Railway integration and deployment configuration
How It Works
Pull Request Workflow
- PR Created → GitHub notifies Bugster
- Preview Deployed → Vercel/Railway creates preview URL
- Tests Execute → Bugster runs tests against preview
- Results Reported → Status check appears in GitHub PR
Test Execution
Automatic Triggers
Automatic Triggers
New Pull Request: Full test suite executionPush to PR Branch: Affected tests only (smart detection)Preview URL Ready: Tests run against latest deployment
Test Selection
Test Selection
Affected Tests: Only tests related to changed filesAlways-Run Tests: Critical tests that always executeSmart Limits: Respects configured test limits
GitHub Status Checks
Results appear as status checks in your pull requests:Status Types
Passed
All tests passed successfully
Failed
One or more tests failed
Pending
Tests are currently running
Detailed Results
Click the status check to view:- Individual test results
- Failure reasons and screenshots
- Execution videos for debugging
- Performance metrics and timing
Troubleshooting
GitHub App not installed
GitHub App not installed
Issue: No status checks appearing on PRsSolution: Reinstall the GitHub App with proper repository permissions
Tests not running on PRs
Tests not running on PRs
Issue: No test execution triggeredSolutions:
- Ensure
.bugster/
folder is committed to repository - Verify GitHub App has access to the correct repository
- Check that preview deployments are working
Preview URL not accessible
Preview URL not accessible
Issue: Tests fail to connect to preview deploymentSolutions:
- Configure Vercel protection bypass correctly
- Verify Railway deployment settings
- Check environment variables in preview
Best Practices
Repository Setup
Commit configuration: Always commit
.bugster/config.yaml
and test filesBranch protection: Require Bugster status checks before mergingEnvironment consistency: Match preview and production configurationsTeam Workflow
PR testing: Let tests complete before code reviewFailure handling: Investigate and fix test failures promptlyTest maintenance: Keep tests updated with code changes