- π― Overview
- β¨ Features
- π Quick Start
- βοΈ Configuration
- π Usage Guide
- π§ Configuration Parameters
- π How to Find Configuration Values
- β Verification Steps
- π€ Contributing
- π Support
The LambdaTest AI Cloud GitHub App revolutionizes your testing workflow by automatically generating comprehensive test cases for your pull requests. This intelligent integration analyzes your code changes and creates relevant automated tests, ensuring your applications are thoroughly tested before deployment.
- π€ AI-Powered Test Generation: Automatically creates test cases based on your code changes
- π Seamless Integration: Works directly with your GitHub pull requests
- β‘ Real-time Testing: Instant test execution and reporting
- π Comprehensive Coverage: Supports UI, API, and cross-browser testing
- π― Smart Analysis: Understands your codebase and generates contextually relevant tests
π Learn More: Discover why KaneAI is transforming test automation and how it addresses traditional testing challenges.
| Feature | Description | Benefit |
|---|---|---|
| π§ AI Test Generation | Automatically generates test cases from PR changes | Saves time and ensures comprehensive coverage |
| π Automated Execution | Runs tests immediately after generation | Instant feedback on code quality |
| π Detailed Reporting | Provides comprehensive test reports | Clear visibility into test results |
| π Cross-browser Testing | Tests across multiple browsers and devices | Ensures compatibility across platforms |
| π GitHub Integration | Native GitHub App with PR comments | Seamless workflow integration |
| π Scalable Testing | Handles projects of any size | Grows with your development needs |
- β GitHub Admin access to your repository
- β Active LambdaTest account
- β Deployed application URL for testing
-
Navigate to the App: Click the button above or visit LambdaTest AI Cloud GitHub App
-
Install the App:
- Click "Install" or "Configure" if already installed
- Select repositories (All repositories or specific ones)
- Complete the installation process
-
Authorize: Complete the authorization to link your GitHub account with LambdaTest
Create a configuration file at .lambdatest/config.yaml in your repository root:
# LambdaTest Configuration
# ========================
# Project and folder configuration
project_id: "your_project_id"
folder_id: "your_folder_id"
# Test Run configuration
assignee: 123456
environment_id: 78901
# Test URL for automation
test_url: "https://demo.lambdatestinternal.com/"
Create a pull request and add a comment:
@LambdaTest Validate this PR
π That's it! The LambdaTest App will automatically analyze your changes and generate comprehensive test cases.
your-repository/
βββ .lambdatest/
β βββ config.yaml # LambdaTest configuration
βββ src/ # Your application code
βββ README.md # This file
The .lambdatest/config.yaml file is the heart of your LambdaTest integration. It contains all the necessary settings for test generation and execution.
- Create a Pull Request with your code changes
- Add a Comment to trigger test generation:
@LambdaTest Validate this PR # OR @LambdaTest Generate test cases # OR @kaneai Generate test cases - Watch the Magic as LambdaTest:
- Analyzes your code changes
- Generates relevant test cases
- Identifies similar existing test cases
- Combines all tests for comprehensive coverage
- Runs the complete test suite
- Review Results in the PR comments and LambdaTest dashboard
graph LR
A[Create PR] --> B[Add Comment]
B --> C[LambdaTest Analyzes Code]
C --> D[Generates Test Cases]
D --> E[Identifies Similar Test Cases]
E --> F[Combines All Tests]
F --> G[Runs Tests]
G --> H[Reports Results]
H --> I[PR Updated with Results]
π API Reference: All configuration IDs (
project_id,folder_id,assignee,environment_id) can be found in the LambdaTest API Documentation. Use the Test Manager API endpoints to retrieve these values.
| Parameter | Description | Required | Example | Type |
|---|---|---|---|---|
project_id |
Your LambdaTest project identifier | β Yes | "01K88GEM5X8BDHWWVY819YTYVA" |
String |
folder_id |
Folder ID where tests will be organized | β Yes | "01K88GFKKP1TDP3AYBP725VAPW" |
String |
assignee |
User ID to assign test runs | β Yes | 17398756 |
Number |
environment_id |
Test environment configuration ID | β Yes | 156989 |
Number |
test_url |
URL of your deployed application | β Yes | "https://demo.lambdatestinternal.com/" |
String |
For programmatic access to these values, use the LambdaTest API Documentation with Test Manager endpoints.
- Log into LambdaTest Dashboard
- Navigate to your project
- Copy the IDs from the URL or project settings
URL: https://test-manager.lambdatest.com/project/01K88GEM5X8BDHWWVY819YTYVA Project ID: 01K88GEM5X8BDHWWVY819YTYVA - API Method: Use
GET /test-manager/projectsendpoint to retrieve project and folder IDs programmatically
# Generate test cases for the entire PR
@LambdaTest Generate test cases
@kaneai Generate test casesπ Click to see example PR comments
## π§ͺ Test Generation Request
@LambdaTest Generate test cases
# OR
@kaneai Generate test cases
**Changes in this PR:**
- Added new user authentication flow
- Updated payment processing logic
- Modified UI components for better UX
**Test Requirements:**
- UI testing for new components
- API testing for authentication endpoints
- Cross-browser compatibility testing- β
.lambdatest/config.yamlfile is committed to your repository - β LambdaTest bot appears in your repository's integrations
- β All configuration parameters are correctly set
- β Test URL is accessible and working
- β LambdaTest account is properly linked
- Create a Test PR with some code changes
- Add the Comment:
@LambdaTest Generate test cases - Wait for Response (usually 2-5 minutes)
- Check Results in PR comments and LambdaTest dashboard
- Verify Test Execution and review generated reports
| Issue | Solution |
|---|---|
| Bot doesn't respond | Check if app is installed and authorized |
| Configuration errors | Verify .lambdatest/config.yaml syntax |
| Test failures | Check test URL accessibility and environment settings |
| Missing permissions | Ensure GitHub Admin access for app installation |
We welcome contributions! Here's how you can help:
- π Report Issues: Found a bug? Create an issue
- π‘ Suggest Features: Have an idea? Start a discussion
- π Improve Documentation: Help us make this README better
- π§ Submit PRs: Fix bugs or add features
- π Documentation: LambdaTest Support Docs
- π¬ Community: LambdaTest Community
- π Bug Reports: GitHub Issues
- π§ Email Support: support@lambdatest.com