Run YAML test cases and flows with one click in VS Code.
Features
- Test Explorer — Auto-scan and display YAML test files in a tree view with real-time status icons
- One-Click Run & Debug — Run or debug tests directly from the sidebar or editor, with variant and input support
- Log Panel — Real-time colorful log output with ANSI color rendering and progress tracking
- CodeLens — Inline ▶ Run / 🐛 Debug buttons on test definitions and variants
- YAML IntelliSense — Field auto-completion, variable reference completion (
${env.xxx},${vars.xxx}, etc.), and real-time diagnostics - Hover Preview — Hover on
${xxx}variables to see namespace details and examples - Diff View — Compare Expected vs Actual values when assertions fail
- Run History — Track all test runs with one-click rerun support
- Report Preview — Preview HTML test reports in a built-in webview
Keyboard Shortcuts
| Shortcut | Action |
|---|---|
Cmd+Shift+R |
Run current YAML file |
Cmd+Shift+D |
Debug current YAML file |
Settings
| Setting | Default | Description |
|---|---|---|
yamlTestRunner.logLevel |
info |
Log level for test output |
yamlTestRunner.maxHistoryEntries |
50 |
Max history entries to keep |
yamlTestRunner.autoOpenReport |
true |
Auto-open report after test run |
yamlTestRunner.autoScrollLog |
true |
Auto-scroll log panel |
License
MIT