Test Pilot
Generate test cases and test automation code from feature specs, source code, or URLs using AI.
Features
- AI-Powered Test Case Generation: Generate comprehensive test cases from requirements, source code, or web pages
- Interactive Test Case Review: Review and approve generated test cases in a dedicated webview panel
- Automated Test Code Generation: Generate test automation code for approved test cases
Requirements
Usage
Generate Test Cases
- Open GitHub Copilot Chat (
Cmd+Shift+I or Ctrl+Shift+I)
- Type
@testpilot /generate followed by:
- Feature specifications
- Source code snippets
- A URL to analyze
- Or attach files using the paperclip button
- Review generated test cases in the Test Pilot panel
- Select the test cases you want to approve
Generate Test Automation Code
- After approving test cases, type
@testpilot /automate
- Choose a stack:
- Default Web: Playwright + Cucumber (TypeScript)
- Default Mobile: WDIO + Cucumber (TypeScript)
- Custom: Provide your own stack instructions
- The automation code will be generated in the chat
Commands
Open Test Pilot - Open the Test Pilot webview panel
Extension Settings
This extension contributes the following chat participant:
@testpilot - Chat participant for test case and automation code generation
/generate - Generate test cases from your input
/automate - Generate test automation code for approved test cases
Known Issues
None at this time. Please report issues on the GitHub repository.
Release Notes
0.0.1
Initial release:
- Test case generation from specs, code, and URLs
- Interactive test case review and approval
- Test automation code generation with multi-stack support
Enjoy testing with Test Pilot! 🧪✈️
| |