PlayTest VSCode Extension
Manage test runs and projects directly from your IDE.
Features
- View test runs in sidebar - Browse test runs for selected project with real-time statistics
- Test case details - View failed tests with detailed information
- Project selection - Easily switch between projects
- Status bar integration - Quick connection status and project info
- Secure authentication - API token stored in VSCode's encrypted storage
Installation
Install directly from VS Code Marketplace:
- Open VS Code
- Go to Extensions (Ctrl+Shift+P / Cmd+Shift+P → "Extensions: Install Extensions")
- Search for "PlayTest"
- Click Install
Or install from command line:
code --install-extension negocio-software.playtest-vscode
Setup
1. Get API Token
- Log in to PlayTest
- Go to Settings → API Keys
- Generate a new API key
- Copy the token
- Open Command Palette (Ctrl+Shift+P / Cmd+Shift+P)
- Run "PlayTest: Configure API Token"
- Paste your API token
- Run "PlayTest: Select Project" to choose a project
Usage
Available Commands
- PlayTest: Configure API Token - Set up authentication
- PlayTest: Test Connection - Verify API connectivity
- PlayTest: Select Project - Choose project to work with
- PlayTest: Refresh Test Runs - Reload test runs
- PlayTest: Clear API Token - Remove stored token
Open the PlayTest sidebar to see:
- Test Runs List - All test runs with status indicators
- Test Statistics - Pass/fail/blocked/skipped counts
- Failed Tests - Expandable list with details
Status Bar
Connection status and current project:
- ✅ PlayTest: [Project Name] - Connected
- ❌ PlayTest - Not configured (click to configure)
Configuration
playtest.apiUrl - API endpoint (default: https://playtest-app.fly.dev/api)
Troubleshooting
Commands Not Working
If you see "command not found" errors:
- Uninstall the extension
- Download the latest
.vsix file
- Reinstall from VSIX
- Restart VSCode
Connection Failed
- Verify your API token is correct
- Check internet connectivity
- Test API:
curl -H "x-api-key: YOUR_TOKEN" https://playtest-app.fly.dev/api/health
Links
License
ISC
| |