Write, run, and debug Karate tests directly in VS Code. Native Test Explorer integration, gutter run buttons, breakpoint debugging, and a single-binary CLI mode — no Maven, no Gradle, no setup.
3 MB • VS Code Marketplace & Open VSX • Local-first, data stays on your machine
Feature: User API Tests
Background:
* url 'https://api.example.com'
Scenario: Create user
Given path '/users'
And request { name: 'Jane' }
When method post
Then status 201
See It in Action
Watch real walkthroughs of the Plus and Pro tiers. No sign-up, no demo requests — just hands-on videos from our team.
Syntax highlighting, gutter run buttons, native VS Code Test Explorer integration, structure view, and in-IDE results — the essentials for authoring Karate tests in your editor.
Auto-complete, code folding, jump to references, real-time diagnostics, breakpoint debugging through Karate and embedded JavaScript, and seamless integration with Red Hat's Java debug extension — full IDE-class developer experience.
Want more tutorials? Visit our YouTube channel →
What's Inside
Karate's VS Code extension feels at home in the editor — from Test Explorer to the command palette to launch configurations.
Karate features and scenarios show up in VS Code's built-in Test Explorer with run, debug, and watch controls. No separate panels.
Click the gutter ▶ icon to run any scenario, or press Ctrl+F5 / Cmd+F5 to fire it instantly.
Set breakpoints in .feature files and step through embedded JavaScript — the first time this is possible in Karate v2.
Context-aware suggestions for Karate keywords, built-ins, JSON paths, and variables. Real-time diagnostics catch errors as you type.
Auto-detect Maven/Gradle, use the standalone karate-cli single binary, or integrate with Red Hat's Java extension — whichever fits your project.
Custom launch.json profiles for environment switching, tags, and threads — no run-mode toggling required.
One-click reformat, simplify, or strictify JSON. Convert between single-line and multi-line. Align Examples table columns instantly.
First-class VS Code commands: Karate: Setup, Karate: New Feature File, Karate: Sign In. Discover everything via Cmd+Shift+P.
Just 3 MB. Available on VS Code Marketplace and Open VSX (for VSCodium & Cursor). All data stays on your machine — no telemetry.
Pricing Tiers
Three tiers to match your team's needs — from hobbyists writing their first test to enterprises running thousands of tests in CI.
$100 / year
For individual developers getting started
Per-seat license
Advanced debugging & productivity
Everything in Plus, plus:
Custom pricing
For organizations with scale & compliance needs
Everything in Pro, plus:
Same tiers are also available for the IntelliJ plugin →
Get Started
Three steps from marketplace to your first test run.
Open VS Code → Extensions (Cmd+Shift+X) → search "Karate" → click Install.
Open the command palette and run Karate: Setup. The extension will install karate-cli automatically if your project needs it.
Open any .feature file and click the gutter ▶ icon — or hit Ctrl+F5 / Cmd+F5. That's it.
Or install from the command line
code --install-extension karatelabs.karate
Also available on Open VSX Registry for VSCodium, Cursor, and other open editors.
Start with Plus, upgrade to Pro for full debugging and productivity, or go Enterprise for SSO and offline licensing.