Table of Contents
- Prerequisites
- Initial Setup
- MCP Configuration
- Workflow
- Quick Command Reference
- Complete Flow Summary
Prerequisites
| Requirement | Minimum Version |
|---|---|
| Node.js | 20+ |
| npm | 10+ |
| IDE | Cursor, VS Code, or MCP-compatible IDE |
| Account | Access to Voidr platform |
| GitHub | Required for repository access |
Initial Setup
1. Clone the Repository
2. Install Dependencies
3. Login to the Platform
- Browser opens automatically.
- Authenticate using Google.
- Select the correct organization.
- Terminal confirms success.
4. Link to a Test Plan
project.json with:
orgIdapplicationIdtestPlanId
5. Configure MCP
MCP Configuration
Supported IDEs
| IDE | Config File |
|---|---|
| Cursor | .cursor/mcp.json |
| VS Code | MCP extension config |
| Others | Refer to IDE documentation |
Verifying MCP
Inside your IDE:“List all test cases in the Voidr Test Plan.”The AI will query the MCP server and return modules, suites, and test cases.
Workflow
Query Tests
Example:“List all test cases in the Test Plan.”
Create Tests via MCP
Example:“Create module ‘Transactions’ with suite ‘Happy Path’ and test ‘Create transaction successfully’.”The test appears as pending automation.
Scaffold Tests
.spec.js files.
Example structure:
Automate Tests
skip after implementing logic.
Build Tests
Deploy Tests
Quick Command Reference
| Command | Description |
|---|---|
npx voidr login | Authenticate |
npx voidr link | Link to Test Plan |
npx voidr mcp-setup | Configure MCP |
npx voidr scaffold | Generate test structure |
npx voidr build | Compile tests |
npx voidr deploy-latest | Deploy tests |
npx voidr status | Check connection |