VS Code Extensions
YAML TestCase Runner

YAML TestCase Runner

by liqian

A VS Code extension for running and debugging YAML test cases with Test Explorer, IntelliSense, CodeLens, real-time logs, diff views, run history, and report previews.

Downloads

45

Rating

— (0)

Version

0.0.9

Last updated

Jul 01, 2026

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