Karate Runner v2 extended by Bhanu
Run and debug Karate 1.x and 2.x tests from VS Code: CodeLens, activity bar, Maven/Gradle integration, and reports.
Windows + Karate 2
On Windows, feature paths passed via -Dkarate.options are normalized to forward slashes so Karate 2 does not mis-parse sequences like \t in folder names.
Settings
Uses the same settings as classic Karate Runner (karateRunner.*):
{
"karateRunner.karateCli.overrideKarateRunner": false,
"karateRunner.karateRunner.default": "com.example.KarateRunner#testParallel",
"karateRunner.karateRunner.promptToSpecify": false
}
Replace com.example.KarateRunner#testParallel with your JUnit runner class and method.
Install from VSIX
code --install-extension .\karate-runner-v2-0.0.1.vsix --force
Disable any other Karate Runner extension to avoid duplicate run buttons.
Build
npm install
npm run compile
npx @vscode/vsce package
Extension id: bagarwal.karate-runner-v2